Tidy up radicale and prometheus (#31)

This commit is contained in:
Patrick Stevens
2024-04-19 00:23:11 +01:00
committed by GitHub
parent 2c238bff62
commit 585b7b9fbc
3 changed files with 2 additions and 1 deletions

View File

@@ -36,6 +36,7 @@
services.prometheus = {
enable = true;
port = config.services.prometheus-config.port;
retentionTime = "60d";
exporters = {
node = {
enable = true;

View File

@@ -46,7 +46,7 @@
if config.services.radicale-config.enableGit
then {
filesystem_folder = filesystem_folder;
hook = "GIT=${pkgs.git}/bin/git GITIGNORE=${./.gitignore} /bin/sh ${./githook.sh}";
hook = "GIT=${pkgs.git}/bin/git GITIGNORE=${./gitignore} /bin/sh ${./githook.sh}";
}
else {};
};