Pass: Fix fucking SYSTEMD HARDENING.

This commit is contained in:
Dmitry Voronin 2024-11-15 08:17:34 +03:00
parent 43283722d1
commit db5954ff84
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -33,7 +33,7 @@ in {
containers.pass = container.mkContainer cfg {
bindMounts = {
"/var/lib/bitwarden_rs" = {
"/var/lib/vaultwarden" = {
hostPath = "${cfg.storage}/data";
isReadOnly = false;
};
@ -43,9 +43,9 @@ in {
services.vaultwarden = {
enable = true;
dbBackend = "sqlite";
environmentFile = "/var/lib/bitwarden_rs/Env";
environmentFile = "/var/lib/vaultwarden/Env";
config = {
DATA_FOLDER = "/var/lib/bitwarden_rs";
DATA_FOLDER = "/var/lib/vaultwarden";
DOMAIN = "http://${cfg.domain}";
ROCKET_ADDRESS = cfg.address;
ROCKET_PORT = cfg.port;