feat/nix #3

Merged
Jaaj-San merged 59 commits from feat/nix into main 2024-09-20 22:35:47 +02:00
Showing only changes of commit 6e3f665fea - Show all commits

View file

@ -37,10 +37,13 @@
}; };
}; };
# Programs
environment.systemPackages = [pkgs.git];
# NVIDIA # NVIDIA
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) ["nvidia-x11" "nvidia-settings"]; nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) ["nvidia-x11" "nvidia-settings"];
hardware.opengl.enable = true; hardware.graphics.enable = true;
services.xserver.videoDrivers = ["nvidia"]; services.xserver.videoDrivers = ["nvidia"];
@ -54,4 +57,6 @@
nvidiaBusId = "PCI:1:0:0"; nvidiaBusId = "PCI:1:0:0";
}; };
}; };
system.stateVersion = "24.11";
} }