scrape: microvmify

This commit is contained in:
Astro 2022-06-17 00:05:21 +02:00
parent 494fbf1ba0
commit a723dcacd6
2 changed files with 13 additions and 3 deletions

View File

@ -447,10 +447,12 @@
scrape = nixosSystem' { scrape = nixosSystem' {
modules = [ modules = [
{ _module.args = { inherit scrapers; }; } self.nixosModules.microvm
./config/lxc-container.nix
./hosts/containers/scrape ./hosts/containers/scrape
{ nixpkgs.overlays = [ secrets.overlays.scrape ]; } {
nixpkgs.overlays = [ secrets.overlays.scrape ];
_module.args = { inherit scrapers; };
}
]; ];
}; };

View File

@ -13,6 +13,14 @@ in {
c3d2 = { c3d2 = {
isInHq = false; isInHq = false;
autoUpdate = true; autoUpdate = true;
deployment = {
server = "server10";
mounts = [ "etc" "home" "var"];
interfaces = [ {
net = "serv";
mac = "E2:73:50:F5:EB:6E";
} ];
};
}; };
networking = { networking = {