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