18 lines
489 B
Nix
18 lines
489 B
Nix
{ lib, self, inputs, outputs, stateVersion, hmStateVersion, ... }:
|
|
let
|
|
libx = import ../../../lib { inherit lib self inputs outputs stateVersion hmStateVersion; };
|
|
lanInterface = "enp0s13f0u4";
|
|
in {
|
|
containers = {
|
|
rdesktop = libx.mkContainer { hostname = "rdesktop"; };
|
|
};
|
|
|
|
networking = {
|
|
networkmanager.unmanaged = [ "interface-name:ve-*" ];
|
|
nat = {
|
|
enable = true;
|
|
externalInterface = lanInterface;
|
|
internalInterfaces = [ "ve-+" ];
|
|
};
|
|
};
|
|
}
|