Disable distributed builds on desktop
This commit is contained in:
parent
30244c5a0c
commit
fc973b7060
2 changed files with 25 additions and 22 deletions
|
|
@ -8,7 +8,8 @@
|
|||
{
|
||||
imports = [
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
] ++ (lib.my.mapModulesRec' (toString ./modules) import);
|
||||
]
|
||||
++ (lib.my.mapModulesRec' (toString ./modules) import);
|
||||
|
||||
nix = {
|
||||
package = pkgs.nixVersions.stable;
|
||||
|
|
@ -18,9 +19,13 @@
|
|||
substituters = [
|
||||
"https://nix-community.cachix.org"
|
||||
"https://cache.nixos.org/"
|
||||
"https://devenv.cachix.org"
|
||||
"ssh://nix-ssh@hel1.banditlair.com"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
"devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw="
|
||||
"hel1.banditlair.com:stzB4xe5QTFvSABoP11ZpNzLDCRZ93PExk0Z/gOzW3g="
|
||||
];
|
||||
auto-optimise-store = true;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -28,27 +28,25 @@
|
|||
programs.kdeconnect.enable = true;
|
||||
|
||||
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||||
nix = {
|
||||
distributedBuilds = true;
|
||||
buildMachines = [
|
||||
{
|
||||
hostName = "hel1.banditlair.com";
|
||||
sshUser = "nix-ssh";
|
||||
system = "x86_64-linux";
|
||||
supportedFeatures = [
|
||||
"nixos-test"
|
||||
"benchmark"
|
||||
"big-parallel"
|
||||
"kvm"
|
||||
];
|
||||
}
|
||||
];
|
||||
settings = {
|
||||
substituters = [ "ssh://nix-ssh@hel1.banditlair.com" ];
|
||||
trusted-public-keys = [ "hel1.banditlair.com:stzB4xe5QTFvSABoP11ZpNzLDCRZ93PExk0Z/gOzW3g=" ];
|
||||
builders-use-substitutes = true;
|
||||
};
|
||||
};
|
||||
# nix = {
|
||||
# distributedBuilds = true;
|
||||
# buildMachines = [
|
||||
# {
|
||||
# hostName = "hel1.banditlair.com";
|
||||
# sshUser = "nix-ssh";
|
||||
# system = "x86_64-linux";
|
||||
# supportedFeatures = [
|
||||
# "nixos-test"
|
||||
# "benchmark"
|
||||
# "big-parallel"
|
||||
# "kvm"
|
||||
# ];
|
||||
# }
|
||||
# ];
|
||||
# settings = {
|
||||
# builders-use-substitutes = true;
|
||||
# };
|
||||
# };
|
||||
|
||||
services.tailscale.enable = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue