mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[General] fix compatibility with 22.11
This commit is contained in:
parent
38fb142e45
commit
97ab180e3b
8 changed files with 15 additions and 59 deletions
10
general.nix
10
general.nix
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue