add github token systemwide

This commit is contained in:
Gerg-L 2024-03-24 14:20:28 -04:00
parent 573aaf7ee2
commit ab5dbe7e87
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI
2 changed files with 17 additions and 11 deletions

View file

@ -44,12 +44,18 @@
nix-direnv.package = pkgs.nix-direnv.override { nix = config.nix.package; };
};
nix.settings.system-features = [
"kvm"
"big-parallel"
"nixos-test"
"benchmark"
];
nix = {
settings.system-features = [
"kvm"
"big-parallel"
"nixos-test"
"benchmark"
];
extraOptions = ''
!include ${config.sops.secrets.github_token.path}
'';
};
sops.secrets.github_token = { };
environment = {
systemPackages = builtins.attrValues {
@ -129,9 +135,8 @@
};
#user managment
sops.secrets = {
gerg.neededForUsers = true;
};
sops.secrets.gerg.neededForUsers = true;
users = {
mutableUsers = false;
users = {