diff --git a/hosts/Infini-SWIFT/default.nix b/hosts/Infini-SWIFT/default.nix index ac92a44..8ab2906 100644 --- a/hosts/Infini-SWIFT/default.nix +++ b/hosts/Infini-SWIFT/default.nix @@ -1,16 +1,17 @@ -{ suites, profiles, pkgs, ... }: { - imports = suites.graphic - ++ [ ./hardware-configuration.nix ] - ++ (with profiles; - [ - boot.grub +{ suites, profiles, pkgs, lib, ... }: { + imports = lib.flattenListSet { + suites = suites.graphic; + imports = [ ./hardware-configuration.nix ]; + profiles = with profiles; + [ + boot.grub - networking.wireless - hardware.sound - hardware.amdgpu - # peripherals.printing - ] - ); + networking.wireless + hardware.sound + hardware.amdgpu + # peripherals.printing + ]; + }; info.monitors = 1;