mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
add work config
This commit is contained in:
parent
2741e5cad1
commit
2b7b63a18c
11 changed files with 102 additions and 0 deletions
12
parts/hosts/work/nvidia.nix
Normal file
12
parts/hosts/work/nvidia.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
_: {
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
};
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
hardware.nvidia = {
|
||||
open = true;
|
||||
modesetting.enable = true;
|
||||
powerManagement.enable = true;
|
||||
nvidiaSettings = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue