Pass: Fix fucking SYSTEMD HARDENING.
This commit is contained in:
parent
43283722d1
commit
db5954ff84
|
@ -33,7 +33,7 @@ in {
|
||||||
|
|
||||||
containers.pass = container.mkContainer cfg {
|
containers.pass = container.mkContainer cfg {
|
||||||
bindMounts = {
|
bindMounts = {
|
||||||
"/var/lib/bitwarden_rs" = {
|
"/var/lib/vaultwarden" = {
|
||||||
hostPath = "${cfg.storage}/data";
|
hostPath = "${cfg.storage}/data";
|
||||||
isReadOnly = false;
|
isReadOnly = false;
|
||||||
};
|
};
|
||||||
|
@ -43,9 +43,9 @@ in {
|
||||||
services.vaultwarden = {
|
services.vaultwarden = {
|
||||||
enable = true;
|
enable = true;
|
||||||
dbBackend = "sqlite";
|
dbBackend = "sqlite";
|
||||||
environmentFile = "/var/lib/bitwarden_rs/Env";
|
environmentFile = "/var/lib/vaultwarden/Env";
|
||||||
config = {
|
config = {
|
||||||
DATA_FOLDER = "/var/lib/bitwarden_rs";
|
DATA_FOLDER = "/var/lib/vaultwarden";
|
||||||
DOMAIN = "http://${cfg.domain}";
|
DOMAIN = "http://${cfg.domain}";
|
||||||
ROCKET_ADDRESS = cfg.address;
|
ROCKET_ADDRESS = cfg.address;
|
||||||
ROCKET_PORT = cfg.port;
|
ROCKET_PORT = cfg.port;
|
||||||
|
|
Loading…
Reference in a new issue