mirror of
https://github.com/Smaug123/PulumiConfig
synced 2025-10-07 09:38:40 +00:00
Tidy up radicale and prometheus (#31)
This commit is contained in:
@@ -36,6 +36,7 @@
|
|||||||
services.prometheus = {
|
services.prometheus = {
|
||||||
enable = true;
|
enable = true;
|
||||||
port = config.services.prometheus-config.port;
|
port = config.services.prometheus-config.port;
|
||||||
|
retentionTime = "60d";
|
||||||
exporters = {
|
exporters = {
|
||||||
node = {
|
node = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@@ -46,7 +46,7 @@
|
|||||||
if config.services.radicale-config.enableGit
|
if config.services.radicale-config.enableGit
|
||||||
then {
|
then {
|
||||||
filesystem_folder = filesystem_folder;
|
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 {};
|
else {};
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user