diff options
Diffstat (limited to 'systems')
| -rw-r--r-- | systems/atlas/default.nix | 2 | ||||
| -rw-r--r-- | systems/atlas/miniflux.nix | 2 | ||||
| -rw-r--r-- | systems/common.nix | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/systems/atlas/default.nix b/systems/atlas/default.nix index d241658..e6b30ca 100644 --- a/systems/atlas/default.nix +++ b/systems/atlas/default.nix @@ -17,7 +17,7 @@ hermetic = false; }; - age.secrets.teawiebot.file = ../../secrets/systems/atlas/teawieBot.age; + age.secrets.teawiebot.file = ../../secrets/atlas/teawieBot.age; boot = { loader.systemd-boot.enable = true; diff --git a/systems/atlas/miniflux.nix b/systems/atlas/miniflux.nix index df1c761..b142e1f 100644 --- a/systems/atlas/miniflux.nix +++ b/systems/atlas/miniflux.nix @@ -1,7 +1,7 @@ {config, ...}: { config = { age.secrets = { - miniflux.file = ../../secrets/systems/${config.networking.hostName}/miniflux.age; + miniflux.file = ../../secrets/${config.networking.hostName}/miniflux.age; }; services.miniflux = { 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 = [ |
