sdrweb: microvmify
This commit is contained in:
parent
81e5d603e6
commit
43ca19b644
|
@ -587,7 +587,7 @@
|
|||
|
||||
sdrweb = nixosSystem' {
|
||||
modules = [
|
||||
./config/lxc-container.nix
|
||||
self.nixosModules.microvm
|
||||
{ nixpkgs.overlays = [ secrets.overlays.mucbot ]; }
|
||||
heliwatch.nixosModules.heliwatch
|
||||
./hosts/containers/sdrweb
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
{ zentralwerk, config, pkgs, ... }:
|
||||
{
|
||||
microvm.mem = 4096;
|
||||
c3d2 = {
|
||||
isInHq = false;
|
||||
hq.statistics.enable = true;
|
||||
deployment = {
|
||||
server = "server10";
|
||||
mounts = [ "etc" "home" "var"];
|
||||
};
|
||||
};
|
||||
|
||||
networking.hostName = "sdrweb";
|
||||
networking.useNetworkd = true;
|
||||
networking.interfaces.eth0.ipv4.addresses = [{
|
||||
address = config.c3d2.hosts."${config.networking.hostName}".ip4;
|
||||
prefixLength = zentralwerk.lib.config.site.net.serv.subnet4Len;
|
||||
}];
|
||||
networking.defaultGateway = "172.20.73.1";
|
||||
|
||||
# http https
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
|
|
Loading…
Reference in New Issue