tootpc and toothpick nvidia changes and switching to zen

This commit is contained in:
cnst
2024-11-25 18:19:44 +01:00
parent 2fcfba18d7
commit 0beb5b602a
5 changed files with 8 additions and 6 deletions

View File

@@ -20,6 +20,7 @@ in {
options = {
nixos.hardware.graphics.nvidia = {
enable = mkEnableOption "Enables NVidia graphics";
open.enable = mkEnableOption "Enables open version of drivers";
package = mkOption {
type = types.enum ["stable" "beta" "production" "latest"];
default = "stable";
@@ -64,7 +65,7 @@ in {
enable = false;
finegrained = false;
};
open = true;
open = cfg.open.enable;
nvidiaSettings = true;
};
};