sops
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
@@ -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" = {};
|
||||||
|
|||||||
Reference in New Issue
Block a user