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,16 +1,17 @@
{ 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.grub [
boot.grub
networking.wireless networking.wireless
hardware.sound hardware.sound
hardware.amdgpu hardware.amdgpu
# peripherals.printing # peripherals.printing
] ];
); };
info.monitors = 1; info.monitors = 1;