feat/nix #3
1 changed files with 6 additions and 1 deletions
|
@ -37,10 +37,13 @@
|
|||
};
|
||||
};
|
||||
|
||||
# Programs
|
||||
environment.systemPackages = [pkgs.git];
|
||||
|
||||
# NVIDIA
|
||||
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"];
|
||||
|
||||
|
@ -54,4 +57,6 @@
|
|||
nvidiaBusId = "PCI:1:0:0";
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = "24.11";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue