nixos: services: tandoor-recipes: persist data
This commit is contained in:
parent
feccb7ba2b
commit
cc42b3f3d8
1 changed files with 13 additions and 0 deletions
|
|
@ -83,6 +83,19 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
my.services.backup = {
|
||||||
|
paths = [
|
||||||
|
"/var/lib/${config.systemd.services.tandoor-recipes.StateDirectory}"
|
||||||
|
config.systemd.services.tandoor-recipes.environment.MEDIA_ROOT
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
my.system.persist.directories = [
|
||||||
|
"/var/lib/${config.systemd.services.tandoor-recipes.StateDirectory}"
|
||||||
|
config.systemd.services.tandoor-recipes.environment.MEDIA_ROOT
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
# NOTE: unfortunately tandoor-recipes does not log connection failures for fail2ban
|
# NOTE: unfortunately tandoor-recipes does not log connection failures for fail2ban
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue