diff options
Diffstat (limited to '')
-rw-r--r-- | secrets/default.nix | 6 | ||||
-rw-r--r-- | secrets/nheko | 50 | ||||
-rw-r--r-- | secrets/nheko.apzu | 48 | ||||
-rw-r--r-- | secrets/nheko.tiamat | 48 | ||||
-rw-r--r-- | secrets/secrets.nix | 4 |
5 files changed, 102 insertions, 54 deletions
diff --git a/secrets/default.nix b/secrets/default.nix index 02771a68..16881513 100644 --- a/secrets/default.nix +++ b/secrets/default.nix @@ -1,7 +1,9 @@ -{...}: { +{config, ...}: let + name = config.networking.hostName; +in { age = { secrets.nheko = { - file = ./nheko; + file = ./nheko. + name; mode = "700"; owner = "soispha"; group = "users"; diff --git a/secrets/nheko b/secrets/nheko deleted file mode 100644 index 0f71d31b..00000000 --- a/secrets/nheko +++ /dev/null @@ -1,50 +0,0 @@ ------BEGIN AGE ENCRYPTED FILE----- -YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSB5cXMvNFpBYUQzL0tKQkd4 -ZHdLY01HYldidWdyTll4d0Y2NmpUQTltVTJ3Cnc4MGlEUkNWZE1tYlcrbTVqajIy -NkZUeitZSnBXL2M4djR2cjdOdEFvVXMKLT4gc3NoLWVkMjU1MTkgelpFb25nIE9F -aHE2ZmVOcU1WWHgwWHBzR1hGQkkwV2NIOW5wdU45RHAzT3FOTDRCeFUKRXJnL05a -bmlRanJmeGhFcmlGcitIa3hIV0R5ZGFKaU5VTUNNRmF3ZTJzUQotPiBzc2gtZWQy -NTUxOSBsVTV2ZFEgb2gwV0lmNjd1akdsWVI2clN4Rk1IdXNubHNvQ1dFd1BHZXZH -dkFxb0hnSQp3MUJ1UkVEa2FBc2ljS3R2NzdlV25rZzRaVms3ZEJacjlJbHBjM29Y -SktRCi0+IFktZ3JlYXNlIFItUV4gPE41WW82KiB7CnY5ZzVpMGJEMzh0ZFprbTdr -WDJ0clpHc2xpNnprRDNrNzgvZkZxdlB3OW56RkNVbndBKzFKcXFvRGZUc1FsYS8K -aXRZSUZLRD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TNT0Y -ccnLKrYvdLKYb1BhGnwhJk4QK5nAPIZaHBkJRdy/3x6VEXILiaB9r/LCPHqpPgNN -8H71kkltuMMsWq0qEo2hKZsWQ32dvMWQTXr2PyukauSgLHLUIPp9Q2+HKM6wdaCr -1K0LWNzTXsKW9KGb+6Up/XxUYM6gv+KEbf3aOH1SZyvApavJl/nY5s7dxvxpUqQg -gpEmvB+lxDOWg8RR3PN0mZIlMS73Y05mYQ8EjlGSMDNtHdbPbOslllMC4nRvJilm -nNa4ETfN7vZKRjhxKY2BH0VNKh1h6cghTJZPGVFvxQe0i1eEI8RvLyA2kfb+bl3s -xbmTyUqhgNaIG2/NypSHi1uYQ37cw40= ------END AGE ENCRYPTED FILE----- diff --git a/secrets/nheko.apzu b/secrets/nheko.apzu new file mode 100644 index 00000000..8e975052 --- /dev/null +++ b/secrets/nheko.apzu @@ -0,0 +1,48 @@ +-----BEGIN AGE ENCRYPTED FILE----- +YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSA1U0lucXQ4UkZlZDR3bHdh +ekgxVUZHcjF2UklZOWtvOFAyQkQ5bnZHV1JnCjExWFFuTm0ydVdqQ1Z4d09WcXYx +Slc0U1IwRnJaTzcrVkx3b3JTK2JiUUkKLT4gc3NoLWVkMjU1MTkgelpFb25nIHg4 +S2c2WEMvVEFCelFXbnd0YUdBQmNaa0J0UHhWdFYwZk5IRHZEbFova3cKY2ZXL1I2 +clZIQkpHcVAyYXRpb2g0Y2FMYS9tRjNRYzhvSGtWdTFyckk4ZwotPiBzc2gtZWQy +NTUxOSBsVTV2ZFEgTnlVYkpoZGtEenF4elFMcDZXTi9tOFN3WHRLOHBIdzBaaHhD +QTNkRUV6SQplRnNHY2xiWDBCMENJaStRdDdjUjg2NnhzendSTlFIanQrZEllZ09N +RDVzCi0+IFtMIy1ncmVhc2UKUTI3OS84ci94b0V1TXcKLS0tIHFLdnNzMy9HT3Bk +dUF1aVNLMWp2aUhMdkhCa0dubFJFQS9iRm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OMuRcPvWl/J5A0oMvF/I +hLSlBmyzXgZ0YnAPl1RMN6MiGmDLKXD0jeRZvYFLdrSUhffeILXmH4F602S9ANQ/ +6s7vUdFNRy8l46MvWJGmUY2h1H7emnb+YTLLTvVL+3KB5YxHLbSaJWd/E1/idHwv +A3w0bmNZCK7GgA7fKJRHzUEdiqNdBsU/2Jrr7zX0nerh8OIGinWog6aNOYGfMQX/ +1NQfh6b6jyE= +-----END AGE ENCRYPTED FILE----- diff --git a/secrets/nheko.tiamat b/secrets/nheko.tiamat new file mode 100644 index 00000000..8e975052 --- /dev/null +++ b/secrets/nheko.tiamat @@ -0,0 +1,48 @@ +-----BEGIN AGE ENCRYPTED FILE----- +YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSA1U0lucXQ4UkZlZDR3bHdh +ekgxVUZHcjF2UklZOWtvOFAyQkQ5bnZHV1JnCjExWFFuTm0ydVdqQ1Z4d09WcXYx +Slc0U1IwRnJaTzcrVkx3b3JTK2JiUUkKLT4gc3NoLWVkMjU1MTkgelpFb25nIHg4 +S2c2WEMvVEFCelFXbnd0YUdBQmNaa0J0UHhWdFYwZk5IRHZEbFova3cKY2ZXL1I2 +clZIQkpHcVAyYXRpb2g0Y2FMYS9tRjNRYzhvSGtWdTFyckk4ZwotPiBzc2gtZWQy +NTUxOSBsVTV2ZFEgTnlVYkpoZGtEenF4elFMcDZXTi9tOFN3WHRLOHBIdzBaaHhD +QTNkRUV6SQplRnNHY2xiWDBCMENJaStRdDdjUjg2NnhzendSTlFIanQrZEllZ09N +RDVzCi0+IFtMIy1ncmVhc2UKUTI3OS84ci94b0V1TXcKLS0tIHFLdnNzMy9HT3Bk +dUF1aVNLMWp2aUhMdkhCa0dubFJFQS9iRmRZNDUyWFkKH2HZiXiSYN2fm10RSu4Z +ZTkreHlRfxo8qtpsst0wTmiPBPelIpWOdpW/HpzOQkTExL4tA+ZdmRX19weFOIvm +INEryi6NUevqbu0lWsvc/UHwi8RIg84DOlfBa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KB5YxHLbSaJWd/E1/idHwv +A3w0bmNZCK7GgA7fKJRHzUEdiqNdBsU/2Jrr7zX0nerh8OIGinWog6aNOYGfMQX/ +1NQfh6b6jyE= +-----END AGE ENCRYPTED FILE----- diff --git a/secrets/secrets.nix b/secrets/secrets.nix index 026bdd38..4d3d1444 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -3,9 +3,9 @@ let tiamat = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMD87QQIUXdEv3TaNRrI9clD9VgpsuVLFg2CrNGa5lVB"; apzu = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN2Wh9sxMnKajfjW8JUJkg2HM59LVl168Sw5CBHAEo+c"; - systems = [tiamat apzu]; in { - "nheko".publicKeys = [soispha] ++ systems; + "nheko.tiamat".publicKeys = [soispha tiamat]; + "nheko.apzu".publicKeys = [soispha apzu]; } # vim: ts=2 |