fix: nix-access-token - permission

This commit is contained in:
Ryan Yin
2024-11-29 22:30:36 +08:00
parent d5e6432efa
commit f0576ecc88
2 changed files with 5 additions and 4 deletions

6
flake.lock generated
View File

@@ -829,10 +829,10 @@
"mysecrets": { "mysecrets": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1731155403, "lastModified": 1732893968,
"narHash": "sha256-3YbQ3LyA3qToYvlYgVor05ZIU8Mv4D/yACD6NubwlbA=", "narHash": "sha256-Bi0vjWt2S4PKfBToZNc8zUwlwZRUB5/OpDMC8k0hoig=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "9b540e3e9a1d8b68c3d16e9263fc9256edc09ceb", "rev": "0d2564a2feb4f6fcc9cb98a3410fe5531e409043",
"shallow": true, "shallow": true,
"type": "git", "type": "git",
"url": "ssh://git@github.com/ryan4yin/nix-secrets.git" "url": "ssh://git@github.com/ryan4yin/nix-secrets.git"

View File

@@ -116,7 +116,8 @@ in {
{ {
file = "${mysecrets}/nix-access-tokens.age"; file = "${mysecrets}/nix-access-tokens.age";
} }
// high_security; # access-token needs to be readable by the user running the `nix` command
// user_readable;
# --------------------------------------------- # ---------------------------------------------
# user can read this file. # user can read this file.