nix/nixos/hosts/framework-server/containers.nix
2024-03-26 09:03:51 +09:00

22 lines
564 B
Nix

{ lib, self, inputs, outputs, stateVersion, hmStateVersion, ... }:
let
libx = import ../../../lib { inherit lib self inputs outputs stateVersion hmStateVersion; };
in {
containers = {
rdesktop = libx.mkContainer { hostname = "rdesktop"; };
};
networking = {
bridges.br0.interfaces = [ "enp0s13f0u4" ];
interfaces.br0.ipv4.addresses = [{ address = "192.168.2.1"; prefixLength = 24; }];
};
# networking.nat = {
# enable = true;
# internalInterfaces = [
# "ve-rdesktop"
# ];
# externalInterface = "enp0s13f0u4";
# };
}