zhu
This commit is contained in:
parent
4f753c3004
commit
eb55969608
2 changed files with 6 additions and 6 deletions
|
|
@ -287,11 +287,11 @@ in{
|
||||||
command = "${suspendScript ''${pkgs.libnotify}/bin/notify-send "You are idle. Going to sleep in 30 seconds"''}";
|
command = "${suspendScript ''${pkgs.libnotify}/bin/notify-send "You are idle. Going to sleep in 30 seconds"''}";
|
||||||
#command = "${locking-script}";
|
#command = "${locking-script}";
|
||||||
}
|
}
|
||||||
{
|
#{
|
||||||
timeout = 330;
|
#timeout = 330;
|
||||||
command = "${suspendScript "${systemctl} suspend"}";
|
#command = "${suspendScript "${systemctl} suspend"}";
|
||||||
#command = "pidof hyprlock && ${secondary}";
|
#command = "pidof hyprlock && ${secondary}";
|
||||||
}
|
#}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
services = {
|
services = {
|
||||||
|
|
|
||||||
|
|
@ -296,8 +296,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
networking.firewall.allowedTCPPorts = [ 22 25565 ];
|
||||||
networking.firewall.allowedUDPPorts = [ 22 ];
|
networking.firewall.allowedUDPPorts = [ 22 25565 ];
|
||||||
# Or disable the firewall altogether.
|
# Or disable the firewall altogether.
|
||||||
#networking.firewall.enable = false;
|
#networking.firewall.enable = false;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue