mucbot: microvmify
This commit is contained in:
parent
992efff49f
commit
0e6cb28572
|
@ -260,6 +260,7 @@
|
|||
systemctl restart microvm@${name}.service
|
||||
END
|
||||
'';
|
||||
|
||||
"microvm-update-${name}-local" = pkgs.writeScriptBin "microvm-update-${name}" ''
|
||||
#!${pkgs.runtimeShell} -e
|
||||
${hostConfig.system.build.copyToServer} ${hostConfig.microvm.declaredRunner}
|
||||
|
@ -484,7 +485,7 @@
|
|||
mucbot = nixosSystem' {
|
||||
modules = [
|
||||
{ _module.args = { inherit tigger; }; }
|
||||
./config/lxc-container.nix
|
||||
self.nixosModules.microvm
|
||||
"${tigger}/module.nix"
|
||||
{ nixpkgs.overlays = [ secrets.overlays.mucbot ]; }
|
||||
./hosts/containers/mucbot
|
||||
|
|
|
@ -1,6 +1,15 @@
|
|||
{ zentralwerk, config, pkgs, lib, tigger, ... }:
|
||||
|
||||
{
|
||||
c3d2.deployment = {
|
||||
server = "server10";
|
||||
mounts = [ "etc" "var"];
|
||||
interfaces = [ {
|
||||
net = "serv";
|
||||
mac = "2A:DB:0D:6B:E8:9A";
|
||||
} ];
|
||||
};
|
||||
|
||||
c3d2.autoUpdate = true;
|
||||
networking.hostName = "mucbot";
|
||||
networking.interfaces.eth0.ipv4.addresses = [{
|
||||
|
|
Loading…
Reference in New Issue