seperate vnc config
This commit is contained in:
parent
53d972c9a0
commit
93309a816c
9 changed files with 606 additions and 3 deletions
27
hosts/vnc/nvidia.nix
Normal file
27
hosts/vnc/nvidia.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
hardware.opengl = {
|
||||
enable = true;
|
||||
driSupport = true;
|
||||
driSupport32Bit = true;
|
||||
};
|
||||
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
|
||||
hardware.nvidia = {
|
||||
|
||||
modesetting.enable = true;
|
||||
|
||||
# NOTE change this if borked
|
||||
powerManagement = {
|
||||
enable = true;
|
||||
finegrained = false;
|
||||
};
|
||||
|
||||
open = false;
|
||||
|
||||
nvidiaSettings = true;
|
||||
|
||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue