diff --git a/hosts/Infini-DESKTOP/default.nix b/hosts/Infini-DESKTOP/default.nix index 3598d33..8400b50 100644 --- a/hosts/Infini-DESKTOP/default.nix +++ b/hosts/Infini-DESKTOP/default.nix @@ -1,15 +1,16 @@ -{ suites, profiles, pkgs, ... }: { - imports = suites.graphic - ++ [ ./hardware-configuration.nix ] - ++ (with profiles; - [ +{ suites, profiles, pkgs, lib, ... }: { + imports = lib.flattenListSet { + suites = suites.graphic; + imports = [ ./hardware-configuration.nix ]; + profiles = with profiles; [ boot.systemd-boot networking.wireless hardware.sound hardware.nvidia # peripherals.printing - ]); + ]; + }; system.stateVersion = "21.05";