box: mv bw env file to sops

This commit is contained in:
Aaron Bieber 2022-10-12 10:44:42 -06:00
parent b829a943fb
commit a13d644e52
No known key found for this signature in database

View File

@ -63,6 +63,7 @@ in {
owner = config.users.users.gitea.name;
sopsFile = config.xin-secrets.box.services;
};
"bitwarden_rs.env" = { sopsFile = config.xin-secrets.box.services; };
};
sops.secrets.books_cert = mkNginxSecret;
@ -495,7 +496,7 @@ in {
signupsAllowed = false;
rocketPort = 8222;
rocketLog = "critical";
environmentFile = "/root/bitwarden_rs.env";
environmentFile = "/run/secrets/bitwarden_rs.env";
};
};