fmt and lint
This commit is contained in:
parent
ac2780eb5b
commit
30b3066a55
1 changed files with 76 additions and 74 deletions
|
|
@ -95,7 +95,8 @@ in {
|
|||
};
|
||||
|
||||
config = {
|
||||
services.tor.relay.onionServices =
|
||||
services = {
|
||||
tor.relay.onionServices =
|
||||
builtins.foldl'
|
||||
(acc: key:
|
||||
acc
|
||||
|
|
@ -108,7 +109,7 @@ in {
|
|||
{}
|
||||
(builtins.attrNames cfg);
|
||||
|
||||
services.caddy = {
|
||||
caddy = {
|
||||
enable = true;
|
||||
virtualHosts = builtins.foldl' (acc: key: let
|
||||
site = cfg.${key};
|
||||
|
|
@ -126,7 +127,7 @@ in {
|
|||
}) {} (builtins.attrNames cfg);
|
||||
};
|
||||
|
||||
services.borgbackup.jobs =
|
||||
borgbackup.jobs =
|
||||
builtins.foldl'
|
||||
(acc: key: let
|
||||
site = cfg.${key};
|
||||
|
|
@ -173,6 +174,7 @@ in {
|
|||
};
|
||||
}
|
||||
else acc) {} (builtins.attrNames cfg);
|
||||
};
|
||||
|
||||
systemd.tmpfiles.settings = {
|
||||
"99-borgdatabasebackups"."/var/backup/postgres".d = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue