Compare commits

...

3 Commits

Author SHA1 Message Date
51ed142c5f Use mkforce for 'partOf' option 2019-12-25 17:15:42 +01:00
caf4a49ec2 Configure nginx service as dependent on gitea 2019-12-25 16:56:23 +01:00
e8850eff51 Restart nginx after Gitea 2019-12-25 16:24:10 +01:00
2 changed files with 5 additions and 1 deletions

View File

@@ -69,7 +69,7 @@
# Auto-upgrade the system and reboot if needed # Auto-upgrade the system and reboot if needed
system.autoUpgrade = { system.autoUpgrade = {
enable = true; enable = true;
allowReboot = false; allowReboot = true;
}; };
# Enable zeroconf # Enable zeroconf
@@ -86,6 +86,7 @@
nix.gc = { nix.gc = {
automatic = true; automatic = true;
dates = "03:15"; dates = "03:15";
options = "--delete-older-than 14d";
}; };
# Configure fish shell # Configure fish shell

View File

@@ -21,4 +21,7 @@
appName = "Gitea"; appName = "Gitea";
}; };
# Restart nginx after startup
systemd.services.nginx.unitConfig.partOf = lib.mkForce [ "gitea.service" ];
} }