Generic update.
This commit is contained in:
parent
4b9ca19510
commit
fc32e170f2
@ -161,11 +161,13 @@
|
||||
catppuccin-sddm-corners
|
||||
];
|
||||
|
||||
# Wireguard settings
|
||||
# firewall settings
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
# allow specific tcp ports
|
||||
allowedTCPPorts = [ 2234 ];
|
||||
allowedTCPPorts = [ 2234 22000 ];
|
||||
# allow specific udp ports
|
||||
allowedUDPPorts = [ 22000 21027 ];
|
||||
# if packets are still dropped, they will show up in dmesg
|
||||
logReversePathDrops = true;
|
||||
# wireguard trips rpfilter up
|
||||
@ -185,6 +187,9 @@
|
||||
# Enable ratbagd for mice configuration
|
||||
services.ratbagd.enable = true;
|
||||
|
||||
# Enable firmware updater
|
||||
services.fwupd.enable = true;
|
||||
|
||||
# Setup syncthing
|
||||
services = {
|
||||
syncthing = {
|
||||
@ -238,7 +243,7 @@
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
ExecStart = toString (pkgs.writeShellScript "ryzenadj-setup" ''
|
||||
${pkgs.ryzenadj}/bin/ryzenadj --stapm-limit 35000 --fast-limit 35000 --slow-limit 35000 --slow-time 60 --stapm-time 1000 --tctl-temp 75 --vrmmax-current 65000
|
||||
${pkgs.ryzenadj}/bin/ryzenadj --stapm-limit 35000 --fast-limit 35000 --slow-limit 35000 --slow-time 60 --stapm-time 1000 --tctl-temp 80 --vrmmax-current 65000
|
||||
'');
|
||||
};
|
||||
wantedBy = [ "default.target" ];
|
||||
|
Loading…
Reference in New Issue
Block a user