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 = [
|
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;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue