Compare commits
3 Commits
master
...
51ed142c5f
| Author | SHA1 | Date | |
|---|---|---|---|
|
51ed142c5f
|
|||
|
caf4a49ec2
|
|||
|
e8850eff51
|
@@ -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
|
||||||
|
|||||||
@@ -21,4 +21,7 @@
|
|||||||
appName = "Gitea";
|
appName = "Gitea";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Restart nginx after startup
|
||||||
|
systemd.services.nginx.unitConfig.partOf = lib.mkForce [ "gitea.service" ];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user