From 8af97609c6596f62780745a0e4b7c12c520946e5 Mon Sep 17 00:00:00 2001 From: ene Date: Sun, 9 Apr 2023 12:59:18 +0200 Subject: Fix(secrets): Secrets now work --- secrets/default.nix | 9 ++++++-- secrets/nheko | 59 +++++++++++++++++++++++++++++++++++++++++++---------- secrets/secrets.nix | 9 ++++---- 3 files changed, 59 insertions(+), 18 deletions(-) (limited to 'secrets') 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