feat: add github access token for nix
This commit is contained in:
parent
20cae34e85
commit
6657d4e7a2
3 changed files with 17 additions and 1 deletions
|
|
@ -44,12 +44,17 @@ in
|
|||
nix = config.nix.package;
|
||||
};
|
||||
|
||||
age.secrets.nix-github-token.file = ../../secrets/nix-github-token.age;
|
||||
|
||||
nix = {
|
||||
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
||||
|
||||
package = pkgs.nix;
|
||||
|
||||
extraOptions = "experimental-features = nix-command flakes";
|
||||
extraOptions = ''
|
||||
!include ${config.age.secrets.nix-github-token.path}
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
|
||||
gc = {
|
||||
automatic = cfg.gc.enable;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue