From b79d8a38b6ed5ae2940bfd465b4c0b815cd1563b Mon Sep 17 00:00:00 2001 From: Patrick Date: Mon, 17 Jun 2024 21:05:18 +0200 Subject: [PATCH] fix: move gpg keygrip to root --- users/patrick/default.nix | 5 ----- users/root/default.nix | 5 +++++ users/{patrick => root}/secrets/gpg-keygrip.tar.age | Bin 3 files changed, 5 insertions(+), 5 deletions(-) rename users/{patrick => root}/secrets/gpg-keygrip.tar.age (100%) diff --git a/users/patrick/default.nix b/users/patrick/default.nix index 83eca60..64858ab 100644 --- a/users/patrick/default.nix +++ b/users/patrick/default.nix @@ -46,11 +46,6 @@ lib.optionalAttrs (!minimal) { rekeyFile = ../../secrets/smb.cred.age; }; }; - age.secrets."my-gpg-yubikey-keygrip.tar" = { - rekeyFile = ./secrets/gpg-keygrip.tar.age; - group = "patrick"; - mode = "640"; - }; programs.dconf.enable = true; diff --git a/users/root/default.nix b/users/root/default.nix index 66e3602..89215da 100644 --- a/users/root/default.nix +++ b/users/root/default.nix @@ -19,4 +19,9 @@ home-manager.users.root.imports = lib.lists.optionals (!minimal) [ ../common ]; + age.secrets."my-gpg-yubikey-keygrip.tar" = { + rekeyFile = ./secrets/gpg-keygrip.tar.age; + group = "patrick"; + mode = "640"; + }; } diff --git a/users/patrick/secrets/gpg-keygrip.tar.age b/users/root/secrets/gpg-keygrip.tar.age similarity index 100% rename from users/patrick/secrets/gpg-keygrip.tar.age rename to users/root/secrets/gpg-keygrip.tar.age