all use vault sops age
This commit is contained in:
@@ -1,18 +1,7 @@
|
||||
{ pkgs, ... }@all: with all; {
|
||||
imports = [ inputs.sops-nix.homeManagerModules.sops ];
|
||||
sops = {
|
||||
age.keyFile = if (hyper.host == "NxXPS") then
|
||||
"${hyper.home}/vault/age/sops-xps-home.key"
|
||||
else if (hyper.host == "NxACE") then
|
||||
"${hyper.home}/.age_nx2_key_13.txt"
|
||||
else if (hyper.host == "NxNORTH") then
|
||||
"${hyper.home}/.age_nx2_key_13.txt"
|
||||
else "unkown host in sops.nix";
|
||||
age.keyFile = "${hyper.home}/vault/age/sopsnix-${hyper.host}-home.key";
|
||||
defaultSopsFile = ../sops-secrets.yaml;
|
||||
secrets = {
|
||||
"example" = {
|
||||
path = "%r/secrets/example";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user