changed firewall and docker autoprune
This commit is contained in:
parent
a8a8e8da43
commit
cf925ec50a
1 changed files with 4 additions and 1 deletions
|
|
@ -37,7 +37,8 @@
|
|||
networking = {
|
||||
hostName = "opti";
|
||||
networkmanager.enable = true;
|
||||
firewall.allowedTCPPorts = [ 22 ];
|
||||
nftables.enable = true;
|
||||
firewall.allowedTCPPorts = [ 22 80 443 ];
|
||||
};
|
||||
|
||||
services.openssh = {
|
||||
|
|
@ -52,6 +53,8 @@
|
|||
autoPrune = {
|
||||
enable = true;
|
||||
dates = "weekly";
|
||||
randomizedDelaySec = "30min";
|
||||
flags = [ "--all" "--volumes" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue