Minor nvidia tweaks

This commit is contained in:
Alex Davies 2024-09-05 13:16:54 -03:00
parent 5020f2dcc6
commit 25d882f6ac
2 changed files with 2 additions and 8 deletions

View File

@ -291,12 +291,8 @@
programs.ssh = { programs.ssh = {
enable = true; # Enable SSH module enable = true; # Enable SSH module
extraConfig = '' controlMaster = "auto"; # Enable ControlMaster
Host * controlPersist = "10m"; # Enable Control
ControlMaster auto
ControlPath ~/.ssh/sockets/%r@%h-%p
ControlPersist 600
'';
}; };
home.packages = [ home.packages = [

View File

@ -29,10 +29,8 @@
device = "/dev/nvme0n1p3"; device = "/dev/nvme0n1p3";
randomEncryption.enable = true; randomEncryption.enable = true;
} ]; } ];
hardware.nvidia-container-toolkit.enable = true; hardware.nvidia-container-toolkit.enable = true;
hardware.nvidia = { hardware.nvidia = {
nvidiaPersistenced =true;
powerManagement.finegrained = true; powerManagement.finegrained = true;
prime = { prime = {
offload = { offload = {