diff --git a/lib/default.nix b/lib/default.nix index 6bd2a73c..a0940935 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -50,7 +50,7 @@ ( import ../nixos/containers/mounts.nix ) ( import ../nixos/containers/${hostname}/mounts.nix ) ]; - ephemeral = false; + ephemeral = ephemeral; autoStart = true; privateNetwork = true; hostAddress = "192.168.2.1"; diff --git a/nixos/hosts/framework-server/containers.nix b/nixos/hosts/framework-server/containers.nix index 05ffce26..875d610a 100644 --- a/nixos/hosts/framework-server/containers.nix +++ b/nixos/hosts/framework-server/containers.nix @@ -4,7 +4,7 @@ let lanInterface = "enp0s13f0u4"; in { containers = { - rdesktop = libx.mkContainer { hostname = "rdesktop"; unfree = true; desktop = "xfce"; }; + rdesktop = libx.mkContainer { hostname = "rdesktop"; unfree = true; desktop = "xfce"; ephemeral = true; }; }; networking = {