diff options
| author | seth <[email protected]> | 2023-11-19 05:19:05 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-11-19 05:28:01 -0500 |
| commit | 07a6858fd7ef6ea6794cc37323d7c9cf1162d5b6 (patch) | |
| tree | a123857e27802b133b105b552b6ef48a7593bae4 /systems/common.nix | |
| parent | 2da304a66b759e8047b94a31758ffc02203e411c (diff) | |
secrets: reorganize & rekey
Diffstat (limited to 'systems/common.nix')
| -rw-r--r-- | systems/common.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/systems/common.nix b/systems/common.nix index b1a4159..77d04c0 100644 --- a/systems/common.nix +++ b/systems/common.nix @@ -26,11 +26,11 @@ in { hmSetup - { + ({config, ...}: { age = { identityPaths = ["/etc/age/key"]; secrets = let - baseDir = ../secrets/shared; + baseDir = ../secrets/${config.networking.hostName}; in { rootPassword.file = "${baseDir}/rootPassword.age"; sethPassword.file = "${baseDir}/sethPassword.age"; @@ -38,7 +38,7 @@ in { }; system.stateVersion = "23.11"; - } + }) ]; darwin = [ |
