diff options
Diffstat (limited to 'secrets')
-rw-r--r-- | secrets/default.nix | 9 | ||||
-rw-r--r-- | secrets/nheko | 59 | ||||
-rw-r--r-- | secrets/secrets.nix | 9 |
3 files changed, 59 insertions, 18 deletions
diff --git a/secrets/default.nix b/secrets/default.nix index 5462e4d8..7577b8f3 100644 --- a/secrets/default.nix +++ b/secrets/default.nix @@ -1,8 +1,13 @@ -{config, ...}: { +{...}: { age = { - identityPaths = ["/home/soispha/.ssh/id_ed25519"]; secrets.nheko = { file = ./nheko; + path = "/home/soispha/.config/nheko/nheko.conf"; # TODO use xdgConfigHome + mode = "700"; + owner = "soispha"; + group = "users"; }; }; } +# vim: ts=2 + diff --git a/secrets/nheko b/secrets/nheko index bda46cb6..2e371bdf 100644 --- a/secrets/nheko +++ b/secrets/nheko @@ -1,11 +1,48 @@ -age-encryption.org/v1 --> ssh-ed25519 iv0Cfg evi+poJEQEwkKUjKS1H79C2M9j4a1QtKVFShPdlQOB0 -FKSfqUvF2wG3otJ2rY38htOfsY9NQkjXu9LOiSklGZo --> ssh-ed25519 KLPP8w Sy4Dp+SKownQjB2o7xBZD1fkPcrFksBJUdrf+KYmlDQ -r9IUP1vP0exnJMD/y/zeuQXmQBZ8LbJEltk8nL+jQRY --> }P,R5-grease T|\P8?C Ut7<F@3. -B1oKq9WyQYHAVZC0DNM1w99po0jWheKx693EZsafU46YRf31ZBM/QZVuSHYq3AvZ -TTOm2nd5MU5fxEPtzXRfA1MhvjLKO+TVooovpLIDbe7OTDbuP0OGNLLimr4EOCWv -Zg ---- gVsq7F0ECC4XLRUKFUzxv6Dr8nk25A9Ww1pUXSh9CUQ -絪X M0m'C2³?{m [3:Fxt c})|%M= \ No newline at end of file +-----BEGIN AGE ENCRYPTED FILE----- +YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBIZmFkMWRzdGRqQm9oM0gx +RnFER0N3a0h4cEE5TU83K01MdXhLWnc2VnhJCkgyVUErTStqek45VzNwQ0dPWWo4 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QUSciLuEIQUIf/ENNOJ +XsfC+LqEfBxsp38JevjtW+B/8ZYhLDQniy8JlB3JC/dU6I7uN70CDCl8a/uxOGCP +rl/fMJQkH80/dLS5S/a2IjONysuO6lmWvyhK7V71HLB9C+DuV37wwkwwyDbTaOxU +IPhmyzWLN3INfVDsv5KsEEldCjarqTeinr6AT+0XKwzM7gpVA1CYU3xxfYmqjNpK +nrv1t/lbxOWZnRv2kkd68UGN1rne4ziQsCcdkHwMEvbb5zp/EfXYbilC2GVYb+cG +PWobob3T72qG4ovyXNxWWRA3aabbsqNpXByLYZG2/lgwyr8qyPSjg7YQ7LGe5rpM +8BY6J3h7ANyNMQUM3Hc3WSIw35iWNl/9zpCJJaPUbs8nDIv/9bu5tpku4WKn+QeV +qcbiwgDyxLMgpjt6s1ouwzMp8q/ektpF3G2Kz6rEx2XwfWXKanl08Diwdknq0tx3 +qSecRVdoDjOdP5xK2iR3UYhfeVzbbkRh44JqkdsF2pto5wjdL5lcIyZ6iP1A1ptx +qozfsvH17jPuvvNmFtgKNL013DxVPjytcQbkqFLt8KC5Jk2gg5zI7yUl/ApcgIS0 +DroMxIsAMt8F/2POJB9vlBoDbI/2KBIA/nRS8wnC1mMNXt6uM250eIb1TOObSKTp +ecg5zso8afDyHJI= +-----END AGE ENCRYPTED FILE----- diff --git a/secrets/secrets.nix b/secrets/secrets.nix index 7540e74b..4d5effe9 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -1,9 +1,8 @@ -# vim: ts=2 let - user1 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL8QLS9IonN8Rhp1yZGDBWc0UoTLH6yQuXWKctorDZNy"; + soispha = "age1mshh4ynzhhzhff25tqwkg4j054g3xwrfznh98ycchludj9wjj48qn2uffn"; - # TODO add the ssh-key of the targeted host - system1 = ""; + tiamat = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMD87QQIUXdEv3TaNRrI9clD9VgpsuVLFg2CrNGa5lVB"; in { - "nheko".publicKeys = [user1 system1]; + "nheko".publicKeys = [soispha tiamat]; } +# vim: ts=2 |