Stabilize system module
This commit is contained in:
parent
6163188786
commit
36ae7b2141
3 changed files with 9 additions and 5 deletions
|
@ -50,7 +50,7 @@
|
||||||
system = {
|
system = {
|
||||||
bluetooth.enable = true;
|
bluetooth.enable = true;
|
||||||
gamingKernel.enable = true;
|
gamingKernel.enable = true;
|
||||||
# keymaps.layout = "fr";
|
keymaps.layout = "us";
|
||||||
nvidia.enable = true;
|
nvidia.enable = true;
|
||||||
pipewire.enable = true;
|
pipewire.enable = true;
|
||||||
plymouth.enable = true;
|
plymouth.enable = true;
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
./bluetooth
|
./bluetooth
|
||||||
./gamingKernel
|
./gamingKernel
|
||||||
# ./keymaps
|
./keymaps
|
||||||
./nvidia
|
./nvidia
|
||||||
./pipewire
|
./pipewire
|
||||||
./plymouth
|
./plymouth
|
||||||
|
|
|
@ -12,8 +12,12 @@ in
|
||||||
description = ''
|
description = ''
|
||||||
Set key layout (fr, us)
|
Set key layout (fr, us)
|
||||||
'';
|
'';
|
||||||
type = types.string;
|
type = types.str;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
config = (import ./${cfg.layout}.nix {});
|
config = mkMerge [
|
||||||
}
|
(mkIf (cfg.layout == "fr") (import ./fr.nix {}))
|
||||||
|
(mkIf (cfg.layout == "us") (import ./us.nix {}))
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue