slab: switch to nixfiles options

This commit is contained in:
NullBite 2024-02-08 18:34:31 +01:00
parent da9ffbd320
commit 5dc2cfad0d
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A

View File

@ -17,14 +17,18 @@
[ # Include the results of the hardware scan.
./hardware-configuration.nix
../../system # nixfiles modules
./nvidia-optimus.nix
../../system/remote.nix
# ../../system/plasma.nix
../../system/fragments/opengl.nix
../../system/gaming.nix
../../system/android.nix
../../system/hyprland.nix
../../system/fragments/android.nix
];
nixfiles = {
common.remoteAccess.enable = true;
hardware.opengl.enable = true;
packageSets.gaming.enable = true;
sessions.hyprland.enable = true;
sessions.plasma.enable = lib.mkDefault false;
};
networking.hostName = "slab";