mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 12:51:34 +01:00
sops: Read age public-keys from files
This commit is contained in:
parent
de16ca49e8
commit
10362bd42b
11 changed files with 11 additions and 21 deletions
|
|
@ -17,7 +17,7 @@ in
|
|||
enable = lib.mkEnableOption "";
|
||||
agePublicKey = lib.mkOption {
|
||||
type = lib.types.nonEmptyStr;
|
||||
default = "";
|
||||
default = "${self}/hosts/${config.networking.hostName}/keys/age.pub" |> lib.readFile |> lib.trim;
|
||||
};
|
||||
secretsFile = lib.mkOption {
|
||||
type = lib.types.nonEmptyStr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue