tst
This commit is contained in:
parent
f56c07e288
commit
92b4451e9c
4 changed files with 3 additions and 8 deletions
|
@ -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;
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
};
|
||||
|
||||
useDHCP = lib.mkDefault true;
|
||||
enableIPv6 = lib.mkForce false;
|
||||
enableIPv6 = false;
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ ];
|
||||
|
|
|
@ -8,5 +8,6 @@
|
|||
services.xrdp = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
defaultWindowManager = "xfce4-session";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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; };
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue