2024-03-26 01:00:46 +01:00
|
|
|
{ lib, self, inputs, outputs, stateVersion, hmStateVersion, ... }:
|
2024-03-20 09:23:30 +01:00
|
|
|
let
|
2024-03-25 03:53:39 +01:00
|
|
|
libx = import ../../../lib { inherit lib self inputs outputs stateVersion hmStateVersion; };
|
2024-03-20 09:23:30 +01:00
|
|
|
in {
|
|
|
|
containers = {
|
2024-03-26 01:00:46 +01:00
|
|
|
rdesktop = libx.mkContainer { hostname = "rdesktop"; };
|
2024-03-20 09:23:30 +01:00
|
|
|
};
|
2024-03-26 01:00:46 +01:00
|
|
|
|
|
|
|
|
|
|
|
networking = {
|
2024-03-26 01:03:51 +01:00
|
|
|
bridges.br0.interfaces = [ "enp0s13f0u4" ];
|
|
|
|
interfaces.br0.ipv4.addresses = [{ address = "192.168.2.1"; prefixLength = 24; }];
|
2024-03-26 01:00:46 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# networking.nat = {
|
|
|
|
# enable = true;
|
|
|
|
# internalInterfaces = [
|
|
|
|
# "ve-rdesktop"
|
|
|
|
# ];
|
|
|
|
# externalInterface = "enp0s13f0u4";
|
|
|
|
# };
|
2024-03-21 12:27:53 +01:00
|
|
|
}
|