nix/nixos/hosts/framework-server/containers.nix

17 lines
534 B
Nix
Raw Normal View History

2024-03-20 19:05:41 +09:00
{ self, inputs, outputs, stateVersion, hmStateVersion, pkgs, pkgs-unstable, ... }:
2024-03-20 17:23:30 +09:00
let
2024-03-20 19:05:41 +09:00
libx = import ../../../lib {inherit self inputs outputs stateVersion hmStateVersion pkgs-unstable pkgs; };
2024-03-20 17:23:30 +09:00
in {
2024-03-21 20:27:53 +09:00
# TODO: Set up Tailscale key
# Set up the bridge network:
networking = {
bridges.br0.interfaces = [ "enp0s13f0u4" ]; # nmcli con show | grep Wired\ connection\ 2
interfaces.br0.useDHCP = true;
};
2024-03-20 17:23:30 +09:00
containers = {
2024-03-21 20:27:53 +09:00
rdesktop = libx.mkContainer { hostname = "rdesktop"; desktop = "xfce"; unfree = true; };
2024-03-20 17:23:30 +09:00
};
2024-03-21 20:27:53 +09:00
}