fix(nix): github token

This commit is contained in:
2025-07-31 14:53:46 +08:00
parent 244844242f
commit c419ac3a30

View File

@@ -4,6 +4,7 @@
lib,
pkgs,
secrets,
username,
...
}:
lib.my.makeSwitch {
@@ -52,8 +53,11 @@ lib.my.makeSwitch {
sops.secrets.nix-github-token = {
sopsFile = secrets.nix-github-token;
format = "binary";
owner = username;
group = "users";
mode = "0400";
};
nix.extraOptions = ''
my.home.nix.extraOptions = ''
!include ${config.sops.secrets.nix-github-token.path}
'';