refactor: move Infini-SWIFT to lib.flattenListSet

This commit is contained in:
Infinidoge 2021-09-23 10:16:26 -04:00
parent a01889dcbf
commit 9a17c99188

View file

@ -1,7 +1,8 @@
{ suites, profiles, pkgs, ... }: { { suites, profiles, pkgs, lib, ... }: {
imports = suites.graphic imports = lib.flattenListSet {
++ [ ./hardware-configuration.nix ] suites = suites.graphic;
++ (with profiles; imports = [ ./hardware-configuration.nix ];
profiles = with profiles;
[ [
boot.grub boot.grub
@ -9,8 +10,8 @@
hardware.sound hardware.sound
hardware.amdgpu hardware.amdgpu
# peripherals.printing # peripherals.printing
] ];
); };
info.monitors = 1; info.monitors = 1;