refactor: move Infini-SWIFT to lib.flattenListSet
This commit is contained in:
parent
a01889dcbf
commit
9a17c99188
1 changed files with 13 additions and 12 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue