vaultwarden not fully working but fixes, sops...done?
This commit is contained in:
@@ -27,8 +27,8 @@ in {
|
||||
sops.secrets = {
|
||||
smtp-password = { };
|
||||
nextcloud-adminpass = {
|
||||
owner = config.users.users.jawz.nextcloud;
|
||||
inherit (config.users.users.jawz) group;
|
||||
owner = config.users.users.nextcloud.name;
|
||||
inherit (config.users.users.nextcloud) group;
|
||||
};
|
||||
};
|
||||
nixpkgs.config.permittedInsecurePackages =
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
enable = true;
|
||||
dbBackend = "postgresql";
|
||||
package = pkgs.vaultwarden;
|
||||
environmentFile = config.sops.vaultwarden.path;
|
||||
environmentFile = config.sops.secrets.vaultwarden.path;
|
||||
config = {
|
||||
ROCKET_ADDRESS = "${config.my.localhost}";
|
||||
ROCKET_PORT = 8222;
|
||||
@@ -23,9 +23,9 @@
|
||||
LOG_LEVEL = "warn";
|
||||
SMTP_HOST = config.my.localhost;
|
||||
SMTP_PORT = 25;
|
||||
SMTP_SSL = false;
|
||||
SMTP_FROM = config.my.smtpemail;
|
||||
SMTP_FROM_NAME = config.my.smtpemail;
|
||||
SMTP_FROM_NAME = "Danilo Reyes";
|
||||
SMTP_USERNAME = config.my.smtpemail;
|
||||
};
|
||||
};
|
||||
nginx = {
|
||||
|
||||
Reference in New Issue
Block a user