stuff
This commit is contained in:
@@ -15,7 +15,7 @@ in
|
|||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = true;
|
default = true;
|
||||||
};
|
};
|
||||||
secretsFolder = mkOption {
|
secretsPath = mkOption {
|
||||||
type = types.path;
|
type = types.path;
|
||||||
default = "${inputs.self}/secrets";
|
default = "${inputs.self}/secrets";
|
||||||
defaultText = "<nix-stuff>/secrets";
|
defaultText = "<nix-stuff>/secrets";
|
||||||
@@ -23,7 +23,7 @@ in
|
|||||||
};
|
};
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
sops = {
|
sops = {
|
||||||
defaultSopsFile = lib.mkDefault (cfg.secretsFolder + "/hosts/${config.vacu.hostname}.yaml");
|
defaultSopsFile = lib.mkDefault (cfg.secretsPath + "/hosts/${config.vacu.hostname}.yaml");
|
||||||
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||||
gnupg.sshKeyPaths = [ ]; # explicitly empty to disable gnupg; I don't use it and it takes up space on minimal configs
|
gnupg.sshKeyPaths = [ ]; # explicitly empty to disable gnupg; I don't use it and it takes up space on minimal configs
|
||||||
};
|
};
|
||||||
|
@@ -194,7 +194,7 @@ in
|
|||||||
"postfix.service"
|
"postfix.service"
|
||||||
"dovecot2.service"
|
"dovecot2.service"
|
||||||
];
|
];
|
||||||
vacu.secretsFolder = "${sopsTestSecretsFolder}";
|
vacu.secretsPath = "${sopsTestSecretsFolder}";
|
||||||
vacu.liam.relayhosts = {
|
vacu.liam.relayhosts = {
|
||||||
shelvacuAlt = "[badhost.blarg]:587";
|
shelvacuAlt = "[badhost.blarg]:587";
|
||||||
allDomains = "[${relayDomain}]:587";
|
allDomains = "[${relayDomain}]:587";
|
||||||
|
Reference in New Issue
Block a user