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