slab: move config to explicit config block

This commit is contained in:
NullBite 2024-12-21 18:13:50 -05:00
parent 6540ad1b94
commit 765fcb3a6c
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A

View File

@ -6,6 +6,17 @@
{ config, lib, pkgs, vars, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
../../system # nixfiles modules
./nvidia-optimus.nix
./supergfxd.nix
];
config = {
# nix.settings.experimental-features = ["nix-command" "flakes" ];
fileSystems = lib.mkMerge [
@ -30,15 +41,6 @@
}))
];
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
../../system # nixfiles modules
./nvidia-optimus.nix
./supergfxd.nix
];
# specialisation.plasma.configuration = {
# system.nixos.tags = [ "Plasma" ];
# nixfiles = {
@ -312,5 +314,6 @@
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "23.11"; # Did you read the comment?
};
}