From bf663bc84933d87b3dca6d0eca50a26f7e582f2c Mon Sep 17 00:00:00 2001 From: Myned Date: Thu, 17 Oct 2024 00:43:24 -0500 Subject: [PATCH] nix: potentially fix usage of github api as non-root user Signed-off-by: Myned --- configuration.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configuration.nix b/configuration.nix index 99e9f5f..c69a74a 100644 --- a/configuration.nix +++ b/configuration.nix @@ -7,6 +7,8 @@ age.secrets = let secret = filename: { file = "${inputs.self}/secrets/${filename}"; + owner = config.custom.username; + group = config.custom.username; }; in { "common/nix/access-tokens.conf" = secret "common/nix/access-tokens.conf";