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; } { inherit system; config.allowUnfree = unfree; hostPlatform = system; }
}: { }: {
autoStart = true; autoStart = true;
privateNetwork = true; privateNetwork = false;
hostBridge = "br0";
specialArgs = { inherit pkgs pkgs-unstable hostname username desktop theme system repo unfree stateVersion tskey; }; 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, ... }: { config = { lib, config, pkgs, pkgs-unstable, hostname, username, desktop, theme, system, repo, stateVersion, tskey, ... }: {
system.stateVersion = stateVersion; system.stateVersion = stateVersion;

View file

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

View file

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

View file

@ -5,11 +5,6 @@ in {
# TODO: Set up Tailscale key # TODO: Set up Tailscale key
# Set up the bridge network: # Set up the bridge network:
networking = {
bridges.br0.interfaces = [ "enp0s13f0u4" ]; # nmcli con show | grep Wired\ connection\ 2
interfaces.br0.useDHCP = true;
};
containers = { containers = {
rdesktop = libx.mkContainer { hostname = "rdesktop"; desktop = "xfce"; unfree = true; }; rdesktop = libx.mkContainer { hostname = "rdesktop"; desktop = "xfce"; unfree = true; };
}; };