diff options
author | Soispha <soispha@vhack.eu> | 2023-06-06 15:09:57 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-06-06 15:11:09 +0200 |
commit | f228c79a95c0695e715e9d6eb8cb761f5ed0a2f1 (patch) | |
tree | d32c834f06444f5404289ce81bfda5901a60da22 | |
parent | Feat(system/services/serverphone): Add (diff) | |
download | nixos-config-f228c79a95c0695e715e9d6eb8cb761f5ed0a2f1.tar.gz nixos-config-f228c79a95c0695e715e9d6eb8cb761f5ed0a2f1.zip |
Refactor(secrets/nheko): Separate in directory
Diffstat (limited to '')
-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 |