mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2026-04-14 13:19:09 +02:00
feat[server]: add home proxy
This commit is contained in:
parent
75891c3103
commit
c1c7431891
84 changed files with 2961 additions and 1601 deletions
|
|
@ -6,16 +6,15 @@
|
|||
./disk-config.nix
|
||||
|
||||
"${self}/modules/nixos/optional/systemd-networkd-server-home.nix"
|
||||
"${self}/modules/nixos/optional/microvm-host.nix"
|
||||
];
|
||||
|
||||
topology.self = {
|
||||
interfaces = {
|
||||
"eth1" = { };
|
||||
"eth2" = { };
|
||||
"eth3" = { };
|
||||
"eth4" = { };
|
||||
"eth5" = { };
|
||||
"eth6" = { };
|
||||
lan2.physicalConnections = [{ node = "summers"; interface = "eth1"; }];
|
||||
lan3.physicalConnections = [{ node = "summers"; interface = "eth2"; }];
|
||||
lan4.physicalConnections = [{ node = "switch-bedroom"; interface = "eth1"; }];
|
||||
lan5.physicalConnections = [{ node = "switch-livingroom"; interface = "eth1"; }];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -45,6 +44,8 @@
|
|||
isServer = true;
|
||||
peers = [
|
||||
"winters"
|
||||
"hintbooth-adguardhome"
|
||||
"hintbooth-nginx"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
@ -67,6 +68,7 @@
|
|||
guests = lib.mkIf (!minimal && config.swarselsystems.withMicroVMs) (
|
||||
{ }
|
||||
// confLib.mkMicrovm "adguardhome"
|
||||
// confLib.mkMicrovm "nginx"
|
||||
);
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue