diff options
-rw-r--r-- | secrets/default.nix | 12 | ||||
-rw-r--r-- | secrets/nheko/apzu (renamed from secrets/nheko.apzu) | 0 | ||||
-rw-r--r-- | secrets/nheko/tiamat (renamed from secrets/nheko.tiamat) | 0 | ||||
-rw-r--r-- | secrets/secrets.nix | 4 |
4 files changed, 9 insertions, 7 deletions
diff --git a/secrets/default.nix b/secrets/default.nix index 16881513..4fdf3f5c 100644 --- a/secrets/default.nix +++ b/secrets/default.nix @@ -2,11 +2,13 @@ name = config.networking.hostName; in { age = { - secrets.nheko = { - file = ./nheko. + name; - mode = "700"; - owner = "soispha"; - group = "users"; + secrets = { + nheko = { + file = ./nheko + name; + mode = "700"; + owner = "soispha"; + group = "users"; + }; }; }; } diff --git a/secrets/nheko.apzu b/secrets/nheko/apzu index 89889e21..89889e21 100644 --- a/secrets/nheko.apzu +++ b/secrets/nheko/apzu diff --git a/secrets/nheko.tiamat b/secrets/nheko/tiamat index 0761bff9..0761bff9 100644 --- a/secrets/nheko.tiamat +++ b/secrets/nheko/tiamat diff --git a/secrets/secrets.nix b/secrets/secrets.nix index 4d3d1444..f90315f1 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -4,8 +4,8 @@ let tiamat = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMD87QQIUXdEv3TaNRrI9clD9VgpsuVLFg2CrNGa5lVB"; apzu = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN2Wh9sxMnKajfjW8JUJkg2HM59LVl168Sw5CBHAEo+c"; in { - "nheko.tiamat".publicKeys = [soispha tiamat]; - "nheko.apzu".publicKeys = [soispha apzu]; + "nheko/tiamat".publicKeys = [soispha tiamat]; + "nheko/apzu".publicKeys = [soispha apzu]; } # vim: ts=2 |