mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
add github token systemwide
This commit is contained in:
parent
573aaf7ee2
commit
ab5dbe7e87
2 changed files with 17 additions and 11 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue