summaryrefslogtreecommitdiff
path: root/systems/common.nix
diff options
context:
space:
mode:
Diffstat (limited to 'systems/common.nix')
-rw-r--r--systems/common.nix6
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 = [