Disable distributed builds on desktop

This commit is contained in:
Paul-Henri Froidmont 2025-08-26 15:46:52 +02:00
parent 30244c5a0c
commit fc973b7060
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
2 changed files with 25 additions and 22 deletions

View file

@ -8,7 +8,8 @@
{ {
imports = [ imports = [
inputs.home-manager.nixosModules.home-manager inputs.home-manager.nixosModules.home-manager
] ++ (lib.my.mapModulesRec' (toString ./modules) import); ]
++ (lib.my.mapModulesRec' (toString ./modules) import);
nix = { nix = {
package = pkgs.nixVersions.stable; package = pkgs.nixVersions.stable;
@ -18,9 +19,13 @@
substituters = [ substituters = [
"https://nix-community.cachix.org" "https://nix-community.cachix.org"
"https://cache.nixos.org/" "https://cache.nixos.org/"
"https://devenv.cachix.org"
"ssh://nix-ssh@hel1.banditlair.com"
]; ];
trusted-public-keys = [ trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw="
"hel1.banditlair.com:stzB4xe5QTFvSABoP11ZpNzLDCRZ93PExk0Z/gOzW3g="
]; ];
auto-optimise-store = true; auto-optimise-store = true;
}; };

View file

@ -28,27 +28,25 @@
programs.kdeconnect.enable = true; programs.kdeconnect.enable = true;
boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
nix = { # nix = {
distributedBuilds = true; # distributedBuilds = true;
buildMachines = [ # buildMachines = [
{ # {
hostName = "hel1.banditlair.com"; # hostName = "hel1.banditlair.com";
sshUser = "nix-ssh"; # sshUser = "nix-ssh";
system = "x86_64-linux"; # system = "x86_64-linux";
supportedFeatures = [ # supportedFeatures = [
"nixos-test" # "nixos-test"
"benchmark" # "benchmark"
"big-parallel" # "big-parallel"
"kvm" # "kvm"
]; # ];
} # }
]; # ];
settings = { # settings = {
substituters = [ "ssh://nix-ssh@hel1.banditlair.com" ]; # builders-use-substitutes = true;
trusted-public-keys = [ "hel1.banditlair.com:stzB4xe5QTFvSABoP11ZpNzLDCRZ93PExk0Z/gOzW3g=" ]; # };
builders-use-substitutes = true; # };
};
};
services.tailscale.enable = true; services.tailscale.enable = true;