Add autoupdate.
This commit is contained in:
parent
d66558efae
commit
ced2ff65dc
1 changed files with 8 additions and 0 deletions
|
|
@ -36,6 +36,14 @@
|
|||
# unsigned store paths sent by the build client).
|
||||
nix.settings.trusted-users = [ "root" "fred" ];
|
||||
|
||||
# Automatic daily system updates
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
flake = "git+https://forg.gregersen.it/rope/nixos";
|
||||
dates = "04:15";
|
||||
allowReboot = true;
|
||||
};
|
||||
|
||||
# Open firewall for SSH
|
||||
networking.firewall.allowedTCPPorts = [ 22 11434 ];
|
||||
services.openssh = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue