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' {
modules = [
{ _module.args = { inherit scrapers; }; }
./config/lxc-container.nix
self.nixosModules.microvm
./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 = {
isInHq = false;
autoUpdate = true;
deployment = {
server = "server10";
mounts = [ "etc" "home" "var"];
interfaces = [ {
net = "serv";
mac = "E2:73:50:F5:EB:6E";
} ];
};
};
networking = {