1
0
Fork 0

simplify aarch64 nix remote builds

This commit is contained in:
Sebastien Bourdeauducq 2022-10-14 19:38:12 +08:00
parent 2448fe7d20
commit e31c796266
2 changed files with 2 additions and 5 deletions

View File

@ -114,7 +114,7 @@
nix.binaryCachePublicKeys = ["nixbld.m-labs.hk-1:5aSRVA5b320xbNvu30tqxVPXpld73bhtOeH6uAjRyHc="];
nix.binaryCaches = ["https://cache.nixos.org" "https://nixbld.m-labs.hk"];
nix.trustedUsers = ["root" "nix"];
nix.trustedUsers = ["root" "sb"];
nix.extraOptions = ''
experimental-features = nix-command flakes impure-derivations

View File

@ -43,9 +43,6 @@ in
users.defaultUserShell = pkgs.fish;
users.extraUsers = (import ./common-users.nix { inherit pkgs; }) //
(pkgs.lib.optionalAttrs experimental-users (import ./experimental-users.nix { inherit pkgs; })) // {
nix = {
isNormalUser = true;
};
nixbld = {
isNormalUser = true;
extraGroups = ["plugdev" "dialout"];
@ -70,7 +67,7 @@ in
nix.binaryCachePublicKeys = ["nixbld.m-labs.hk-1:5aSRVA5b320xbNvu30tqxVPXpld73bhtOeH6uAjRyHc="];
nix.binaryCaches = ["https://cache.nixos.org" "https://nixbld.m-labs.hk"];
nix.trustedUsers = ["root" "nix" "sb"];
nix.trustedUsers = ["root" "sb"];
nix.extraOptions = ''
experimental-features = nix-command flakes impure-derivations