[General] fix compatibility with 22.11

This commit is contained in:
Antoine Viallon 2022-11-28 21:08:23 +01:00
parent 38fb142e45
commit 97ab180e3b
Signed by: aviallon
GPG key ID: 186FC35EDEB25716
8 changed files with 15 additions and 59 deletions

View file

@ -138,18 +138,18 @@ in
environment.noXlibs = mkIf (cfg.minimal && (!desktopCfg.enable)) true;
nix.buildMachines = [
(mkBuildMachine {
nix.buildMachines = []
++ optional false (mkBuildMachine {
hostName = "luke-skywalker-nixos.local";
cores = 8;
threads = 16;
})
(mkBuildMachine {
++ optional false (mkBuildMachine {
hostName = "cachan.lesviallon.fr";
cores = 6;
threads = 6;
})
];
;
programs.ssh.extraConfig = ''
Host cachan.lesviallon.fr
@ -166,7 +166,7 @@ in
shell = pkgs.bashInteractive;
};
users.groups.builder = {};
nix.trustedUsers = [ "builder" ];
nix.settings.trusted-users = [ "builder" ];
nix.distributedBuilds = mkDefault true;
};