Generic update.
This commit is contained in:
parent
4b9ca19510
commit
fc32e170f2
@ -161,11 +161,13 @@
|
|||||||
catppuccin-sddm-corners
|
catppuccin-sddm-corners
|
||||||
];
|
];
|
||||||
|
|
||||||
# Wireguard settings
|
# firewall settings
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# allow specific tcp ports
|
# 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
|
# if packets are still dropped, they will show up in dmesg
|
||||||
logReversePathDrops = true;
|
logReversePathDrops = true;
|
||||||
# wireguard trips rpfilter up
|
# wireguard trips rpfilter up
|
||||||
@ -185,6 +187,9 @@
|
|||||||
# Enable ratbagd for mice configuration
|
# Enable ratbagd for mice configuration
|
||||||
services.ratbagd.enable = true;
|
services.ratbagd.enable = true;
|
||||||
|
|
||||||
|
# Enable firmware updater
|
||||||
|
services.fwupd.enable = true;
|
||||||
|
|
||||||
# Setup syncthing
|
# Setup syncthing
|
||||||
services = {
|
services = {
|
||||||
syncthing = {
|
syncthing = {
|
||||||
@ -238,7 +243,7 @@
|
|||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
ExecStart = toString (pkgs.writeShellScript "ryzenadj-setup" ''
|
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" ];
|
wantedBy = [ "default.target" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user