Compare commits
2 commits
search-inf
...
main
Author | SHA1 | Date | |
---|---|---|---|
|
383911d619 | ||
5fa7ccb8e7 |
2 changed files with 4 additions and 3 deletions
|
@ -13,6 +13,7 @@ lib.extra.mkConfig {
|
|||
enabledServices = [
|
||||
# List of services to enable
|
||||
"django-apps"
|
||||
"redirections"
|
||||
];
|
||||
|
||||
extraConfig = {
|
||||
|
|
|
@ -734,9 +734,9 @@ in
|
|||
};
|
||||
|
||||
dgn-backups = {
|
||||
jobs = mapAttrs' (
|
||||
name: _: nameValuePair "dj-${name}" { settings.paths = [ "/var/lib/django-apps/${name}" ]; }
|
||||
) cfg.sites;
|
||||
# jobs = mapAttrs' (
|
||||
# name: _: nameValuePair "dj-${name}" { settings.paths = [ "/var/lib/private/django-apps/${name}" ]; }
|
||||
# ) cfg.sites;
|
||||
postgresDatabases = builtins.map (name: "dj-${name}") (
|
||||
attrNames (filterAttrs (_: { dbType, ... }: dbType == "postgresql") cfg.sites)
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue