mirror of https://gitlab.crans.org/nounous/nixos
vaultwarden: ajout postfix au service systemd
parent
ff3746d69d
commit
4742dfdf7a
|
@ -6,15 +6,14 @@
|
||||||
file = ../../secrets/vaultwarden/env.age;
|
file = ../../secrets/vaultwarden/env.age;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
postfix
|
|
||||||
];
|
|
||||||
|
|
||||||
services.vaultwarden = {
|
services.vaultwarden = {
|
||||||
enable = true;
|
enable = true;
|
||||||
dbBackend = "postgresql";
|
dbBackend = "postgresql";
|
||||||
backupDir = "/var/backup/vaultwarden";
|
environmentFile = config.age.secrets.env.path;
|
||||||
environmentFile = config.age.secrets.env.path;
|
};
|
||||||
|
|
||||||
|
systemd.services.vaultwarden = {
|
||||||
|
path = with pkgs; [ postfix ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue