This commit is contained in:
albert 2024-03-21 21:29:37 +09:00
parent f56c07e288
commit 92b4451e9c
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A
4 changed files with 3 additions and 8 deletions

View file

@ -46,8 +46,7 @@
{ inherit system; config.allowUnfree = unfree; hostPlatform = system; }
}: {
autoStart = true;
privateNetwork = true;
hostBridge = "br0";
privateNetwork = false;
specialArgs = { inherit pkgs pkgs-unstable hostname username desktop theme system repo unfree stateVersion tskey; };
config = { lib, config, pkgs, pkgs-unstable, hostname, username, desktop, theme, system, repo, stateVersion, tskey, ... }: {
system.stateVersion = stateVersion;

View file

@ -7,7 +7,7 @@
};
useDHCP = lib.mkDefault true;
enableIPv6 = lib.mkForce false;
enableIPv6 = false;
firewall = {
enable = true;
allowedTCPPorts = [ ];

View file

@ -8,5 +8,6 @@
services.xrdp = {
enable = true;
openFirewall = true;
defaultWindowManager = "xfce4-session";
};
}

View file

@ -5,11 +5,6 @@ in {
# 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;
};
containers = {
rdesktop = libx.mkContainer { hostname = "rdesktop"; desktop = "xfce"; unfree = true; };
};