This commit is contained in:
2025-08-11 00:06:24 -05:00
parent 6f773b5ef9
commit 12fbd8e369
2 changed files with 7 additions and 3 deletions

View File

@@ -94,7 +94,7 @@
}; };
}; };
sops = { /*sops = {
age.keyFile = "/home/nathan/.config/sops/age/keys.txt"; age.keyFile = "/home/nathan/.config/sops/age/keys.txt";
defaultSopsFile = ./secrets.yaml; defaultSopsFile = ./secrets.yaml;
defaultSopsFormat = "yaml"; defaultSopsFormat = "yaml";
@@ -104,7 +104,7 @@
neededForUsers = true; neededForUsers = true;
}; };
}; };
}; };*/
programs.fuse.userAllowOther = true; programs.fuse.userAllowOther = true;

View File

@@ -1,10 +1,14 @@
{ config, lib, ... }: { { config, lib, inputs, ... }: {
options.sysconfig.opts.virtualization.keycloak.enable = lib.options.mkOption { options.sysconfig.opts.virtualization.keycloak.enable = lib.options.mkOption {
type = lib.types.bool; type = lib.types.bool;
default = false; default = false;
}; };
imports = [
inputs.sops-nix.nixosModules.sops
];
config = lib.mkIf config.sysconfig.opts.virtualization.keycloak.enable { config = lib.mkIf config.sysconfig.opts.virtualization.keycloak.enable {
sops.secrets."keycloak/dbpass" = {}; sops.secrets."keycloak/dbpass" = {};