Set up Nix build server
This commit is contained in:
parent
d1d94f9c24
commit
9300a07f5b
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
nix.distributedBuilds = true;
|
||||
nix.buildMachines = [
|
||||
{
|
||||
hostName = "tears";
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
"i686-linux"
|
||||
];
|
||||
supportedFeatures = [ "big-parallel" ];
|
||||
maxJobs = 4;
|
||||
|
||||
sshUser = "root";
|
||||
sshKey = "/Users/agatha/Projects/nix-infra/secrets/id_ed25519-nix-builder";
|
||||
}
|
||||
];
|
||||
}
|
|
@ -2,6 +2,8 @@
|
|||
{
|
||||
imports = [
|
||||
../../common/home_manager/common.nix
|
||||
../../common/remote-builds.nix
|
||||
../../common/fragments/graphical/barebones.nix
|
||||
../../common/fragments/graphical/iosevka.nix
|
||||
];
|
||||
|
||||
|
@ -17,6 +19,7 @@
|
|||
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
||||
"cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o="
|
||||
];
|
||||
trusted-users = [ "@admin" ];
|
||||
};
|
||||
|
||||
# Needed for the nix-darwin environment even if zsh is not used.
|
||||
|
@ -40,4 +43,6 @@
|
|||
iosevka
|
||||
siji
|
||||
];
|
||||
|
||||
system.stateVersion = 1;
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../common/fragments/graphical
|
||||
../../common/fragments/yubikey.nix
|
||||
../../common/remote-builds.nix
|
||||
../../common/home_manager/common.nix
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in New Issue