ma services: ensure state is backed up
This commit is contained in:
parent
67693d4eb4
commit
37006c2198
@ -1,8 +1,9 @@
|
||||
{pkgs, ... }:
|
||||
# state: /var/lib/bitlbee
|
||||
{
|
||||
services.bitlbee = {
|
||||
enable = true;
|
||||
libpurple_plugins = [ pkgs.telegram-purple pkgs.pidgin-skypeweb];
|
||||
};
|
||||
users.users.makefu.packages = with pkgs; [ weechat tmux ];
|
||||
state = [ "/var/lib/bitlbee" ];
|
||||
}
|
||||
|
@ -23,6 +23,11 @@ in {
|
||||
{ name = "vaultwarden"; ensurePermissions."DATABASE bitwarden" = "ALL PRIVILEGES"; }
|
||||
];
|
||||
};
|
||||
services.postgresqlBackup = {
|
||||
enable = true;
|
||||
databases = [ "bitwarden" "vaultwarden" ];
|
||||
};
|
||||
|
||||
|
||||
services.nginx.virtualHosts."bw.euer.krebsco.de" ={
|
||||
forceSSL = true;
|
||||
|
Loading…
Reference in New Issue
Block a user