nvidia no vrr
This commit is contained in:
parent
7fb9da605e
commit
9fefe6b8cd
4 changed files with 81 additions and 51 deletions
|
@ -7,6 +7,7 @@
|
|||
../../features/tailscale.nix
|
||||
../../features/sound
|
||||
../../features/nvidia.nix
|
||||
../../features/nvidia-no-vrr.nix
|
||||
../../features/steam.nix
|
||||
../../features/dns-cache.nix
|
||||
../../features/podman.nix
|
||||
|
@ -37,7 +38,7 @@
|
|||
networking.firewall.allowedTCPPorts = [ 42069 8000 ];
|
||||
networking.firewall.allowedUDPPorts = [ 42069 ];
|
||||
|
||||
services.xserver.displayManager.setupCommands = ''
|
||||
nvidia-settings -a AllowVRR=0
|
||||
'';
|
||||
# services.xserver.displayManager.setupCommands = ''
|
||||
# nvidia-settings -a AllowVRR=0
|
||||
# '';
|
||||
}
|
||||
|
|
|
@ -14,8 +14,11 @@
|
|||
networking.firewall.allowPing = true;
|
||||
networking.firewall.extraCommands = ''iptables -t raw -A OUTPUT -p udp -m udp --dport 137 -j CT --helper netbios-ns'';
|
||||
|
||||
users.groups.data = {};
|
||||
users.groups.data = {
|
||||
gid = 994;
|
||||
};
|
||||
users.users.data = {
|
||||
uid = 1001;
|
||||
isNormalUser = true;
|
||||
group = "data";
|
||||
};
|
||||
|
@ -87,9 +90,10 @@
|
|||
user = "data";
|
||||
group = "data";
|
||||
settings = {
|
||||
server.listen = [ "0.0.0.0:4918" "[::]:4918" ];
|
||||
location = [
|
||||
{
|
||||
route = [ "/public/*path" ];
|
||||
route = [ "/public(/*path)" ];
|
||||
directory = "/mnt/storage/main/public";
|
||||
handler = "filesystem";
|
||||
methods = [ "webdav-ro" ];
|
||||
|
@ -99,4 +103,6 @@
|
|||
];
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 4918 ];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue