refactor: move imports to lib.flattenListSet
This commit is contained in:
parent
df4a46b8a6
commit
9f44af0bde
1 changed files with 7 additions and 6 deletions
|
@ -1,15 +1,16 @@
|
||||||
{ 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.systemd-boot
|
boot.systemd-boot
|
||||||
|
|
||||||
networking.wireless
|
networking.wireless
|
||||||
hardware.sound
|
hardware.sound
|
||||||
hardware.nvidia
|
hardware.nvidia
|
||||||
# peripherals.printing
|
# peripherals.printing
|
||||||
]);
|
];
|
||||||
|
};
|
||||||
|
|
||||||
system.stateVersion = "21.05";
|
system.stateVersion = "21.05";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue