ma x: enable remote builder
This commit is contained in:
parent
7f0354f2ba
commit
6788519e4b
|
@ -15,6 +15,13 @@
|
||||||
<stockholm/makefu/2configs/extra-fonts.nix>
|
<stockholm/makefu/2configs/extra-fonts.nix>
|
||||||
<stockholm/makefu/2configs/tools/all.nix>
|
<stockholm/makefu/2configs/tools/all.nix>
|
||||||
<stockholm/makefu/2configs/dict.nix>
|
<stockholm/makefu/2configs/dict.nix>
|
||||||
|
#<stockholm/makefu/3modules/netboot_server.nix>
|
||||||
|
#{
|
||||||
|
# netboot_server = {
|
||||||
|
# network.wan = "wlp3s0";
|
||||||
|
# network.lan = "enp0s25";
|
||||||
|
# };
|
||||||
|
#}
|
||||||
|
|
||||||
<stockholm/makefu/2configs/backup/state.nix>
|
<stockholm/makefu/2configs/backup/state.nix>
|
||||||
# <stockholm/makefu/2configs/dnscrypt/client.nix>
|
# <stockholm/makefu/2configs/dnscrypt/client.nix>
|
||||||
|
@ -52,21 +59,22 @@
|
||||||
# Virtualization
|
# Virtualization
|
||||||
<stockholm/makefu/2configs/virtualisation/libvirt.nix>
|
<stockholm/makefu/2configs/virtualisation/libvirt.nix>
|
||||||
<stockholm/makefu/2configs/virtualisation/docker.nix>
|
<stockholm/makefu/2configs/virtualisation/docker.nix>
|
||||||
<stockholm/makefu/2configs/virtualisation/virtualbox.nix>
|
# <stockholm/makefu/2configs/virtualisation/virtualbox.nix>
|
||||||
{
|
#{
|
||||||
networking.firewall.allowedTCPPorts = [ 8080 ];
|
# networking.firewall.allowedTCPPorts = [ 8080 ];
|
||||||
networking.nat = {
|
# networking.nat = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
externalInterface = "wlp3s0";
|
# externalInterface = "wlp3s0";
|
||||||
internalInterfaces = [ "vboxnet0" ];
|
# internalInterfaces = [ "vboxnet0" ];
|
||||||
};
|
# };
|
||||||
}
|
#}
|
||||||
# Services
|
# Services
|
||||||
<stockholm/makefu/2configs/git/brain-retiolum.nix>
|
<stockholm/makefu/2configs/git/brain-retiolum.nix>
|
||||||
<stockholm/makefu/2configs/tor.nix>
|
<stockholm/makefu/2configs/tor.nix>
|
||||||
<stockholm/makefu/2configs/vpn/vpngate.nix>
|
<stockholm/makefu/2configs/vpn/vpngate.nix>
|
||||||
# <stockholm/makefu/2configs/buildbot-standalone.nix>
|
# <stockholm/makefu/2configs/buildbot-standalone.nix>
|
||||||
<stockholm/makefu/2configs/remote-build/aarch64-community.nix>
|
<stockholm/makefu/2configs/remote-build/aarch64-community.nix>
|
||||||
|
<stockholm/makefu/2configs/remote-build/gum.nix>
|
||||||
|
|
||||||
# Hardware
|
# Hardware
|
||||||
<stockholm/makefu/2configs/hw/tp-x230.nix>
|
<stockholm/makefu/2configs/hw/tp-x230.nix>
|
||||||
|
@ -162,7 +170,6 @@
|
||||||
"/home/makefu/docs"
|
"/home/makefu/docs"
|
||||||
"/home/makefu/.password-store"
|
"/home/makefu/.password-store"
|
||||||
"/home/makefu/.secrets-pass"
|
"/home/makefu/.secrets-pass"
|
||||||
"/home/makefu/autosync/Database.kdb"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
services.syncthing.user = lib.mkForce "makefu";
|
services.syncthing.user = lib.mkForce "makefu";
|
||||||
|
|
15
makefu/2configs/remote-build/gum.nix
Normal file
15
makefu/2configs/remote-build/gum.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
nix = {
|
||||||
|
distributedBuilds = true;
|
||||||
|
buildMachines = [
|
||||||
|
{
|
||||||
|
hostName = "gum.krebsco.de";
|
||||||
|
maxJobs = 8;
|
||||||
|
sshKey = toString <secrets/id_nixBuild>;
|
||||||
|
sshUser = "nixBuild";
|
||||||
|
system = "x86_64-linux";
|
||||||
|
supportedFeatures = [ ];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
|
@ -5,6 +5,7 @@
|
||||||
useDefaultShell = true;
|
useDefaultShell = true;
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
config.krebs.users.buildbotSlave.pubkey
|
config.krebs.users.buildbotSlave.pubkey
|
||||||
|
config.krebs.users.makefu-remote-builder.pubkey
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user