properly inherit enable on servers
This commit is contained in:
@@ -13,7 +13,7 @@ in
|
||||
config = lib.mkIf (cfg.enable && config.my.servers.postgres.enable && config.my.secureHost) {
|
||||
sops.secrets.vaultwarden.sopsFile = ../../secrets/env.yaml;
|
||||
services.vaultwarden = {
|
||||
enable = true;
|
||||
inherit (cfg) enable;
|
||||
dbBackend = "postgresql";
|
||||
package = pkgs.vaultwarden;
|
||||
environmentFile = config.sops.secrets.vaultwarden.path;
|
||||
|
||||
Reference in New Issue
Block a user