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, ... }: {
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.grub
@ -9,8 +10,8 @@
hardware.sound
hardware.amdgpu
# peripherals.printing
]
);
];
};
info.monitors = 1;