slab: move config to explicit config block
This commit is contained in:
parent
6540ad1b94
commit
765fcb3a6c
@ -6,6 +6,17 @@
|
|||||||
{ config, lib, pkgs, vars, ... }:
|
{ 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" ];
|
# nix.settings.experimental-features = ["nix-command" "flakes" ];
|
||||||
|
|
||||||
fileSystems = lib.mkMerge [
|
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 = {
|
# specialisation.plasma.configuration = {
|
||||||
# system.nixos.tags = [ "Plasma" ];
|
# system.nixos.tags = [ "Plasma" ];
|
||||||
# nixfiles = {
|
# nixfiles = {
|
||||||
@ -312,5 +314,6 @@
|
|||||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||||
system.stateVersion = "23.11"; # Did you read the comment?
|
system.stateVersion = "23.11"; # Did you read the comment?
|
||||||
|
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user