nix: potentially fix usage of github api as non-root user
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
4c4d2aec7b
commit
bf663bc849
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,8 @@
|
||||||
age.secrets = let
|
age.secrets = let
|
||||||
secret = filename: {
|
secret = filename: {
|
||||||
file = "${inputs.self}/secrets/${filename}";
|
file = "${inputs.self}/secrets/${filename}";
|
||||||
|
owner = config.custom.username;
|
||||||
|
group = config.custom.username;
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
"common/nix/access-tokens.conf" = secret "common/nix/access-tokens.conf";
|
"common/nix/access-tokens.conf" = secret "common/nix/access-tokens.conf";
|
||||||
|
|
Loading…
Reference in a new issue