Commit e6c09ce59f8c
Changed files (2)
machine
machine/hokkaido.nix
@@ -11,6 +11,7 @@ with import ../assets/machines.nix; {
profiles = {
avahi.enable = true;
dev.enable = true;
+ docker.enable = true;
ssh.enable = true;
syncthing.enable = true;
virtualization.enable = true;
machine/kobe.nix
@@ -7,6 +7,23 @@ with import ../assets/machines.nix; {
fsType = "nfs";
options = ["x-systemd.automount" "noauto"];
};
+ nix = {
+ distributedBuilds = true;
+ buildMachines = [{
+ hostName = "hokkaido.home";
+ sshUser = "vincent";
+ sshKey = "/home/vincent/.ssh/id_ed25519";
+ system = "x86_64-linux";
+ maxJobs = 2;
+ sypportedFeatures = ["kvm" "docker"];
+ } {
+ hostName = "honshu.home";
+ sshUser = "vincent";
+ sshKey = "/home/vincent/.ssh/id_ed25519";
+ system = "x86_64-linux";
+ maxJobs = 2;
+ }];
+ };
boot = {
cleanTmpDir = true;
};