Reduce stupid systemd default timeout to possibly stop hanging at shutdown
This commit is contained in:
parent
1c3116359a
commit
bd3921d523
1 changed files with 5 additions and 0 deletions
|
@ -119,6 +119,11 @@
|
|||
# Open ports for KDE Connect
|
||||
networking.firewall.extraCommands = "iptables -I INPUT -i wlo1 -p udp --dport 1714:1764 -m state --state NEW,ESTABLISHED -j ACCEPT && iptables -I INPUT -i wlo1 -p tcp --dport 1714:1764 -m state --state NEW,ESTABLISHED -j ACCEPT && iptables -A OUTPUT -o wlo1 -p udp --sport 1714:1764 -m state --state NEW,ESTABLISHED -j ACCEPT && iptables -A OUTPUT -o wlo1 -p tcp --sport 1714:1764 -m state --state NEW,ESTABLISHED -j ACCEPT\n";
|
||||
|
||||
# Reduce stupid systemd shutdown timer so it possibly takes less time next time
|
||||
systemd.extraConfig = ''
|
||||
DefaultTimeoutStopSec=10s
|
||||
'';
|
||||
|
||||
# Enable CUPS to print documents.
|
||||
services.printing.enable = true;
|
||||
|
||||
|
|
Reference in a new issue