This commit is contained in:
Aleksandr Lebedev 2025-06-20 14:23:23 +02:00
parent 4f753c3004
commit eb55969608
2 changed files with 6 additions and 6 deletions

View file

@ -287,11 +287,11 @@ in{
command = "${suspendScript ''${pkgs.libnotify}/bin/notify-send "You are idle. Going to sleep in 30 seconds"''}";
#command = "${locking-script}";
}
{
timeout = 330;
command = "${suspendScript "${systemctl} suspend"}";
#{
#timeout = 330;
#command = "${suspendScript "${systemctl} suspend"}";
#command = "pidof hyprlock && ${secondary}";
}
#}
];
};
services = {

View file

@ -296,8 +296,8 @@
};
# Open ports in the firewall.
networking.firewall.allowedTCPPorts = [ 22 ];
networking.firewall.allowedUDPPorts = [ 22 ];
networking.firewall.allowedTCPPorts = [ 22 25565 ];
networking.firewall.allowedUDPPorts = [ 22 25565 ];
# Or disable the firewall altogether.
#networking.firewall.enable = false;