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