diff --git a/nixos/hosts/framework-server/default.nix b/nixos/hosts/framework-server/default.nix index b7e62a74..62b99d8a 100644 --- a/nixos/hosts/framework-server/default.nix +++ b/nixos/hosts/framework-server/default.nix @@ -10,7 +10,7 @@ ./ssh-luks.nix ./docker.nix ./wireguard.nix - ] ++ lib.optional (builtins.isString desktop) ./sleep.nix; + ] ++ lib.optional (builtins.isString desktop) ./desktop.nix; # steam , etc nixpkgs.config.allowUnfree = true; diff --git a/nixos/hosts/framework-server/sleep.nix b/nixos/hosts/framework-server/desktop.nix similarity index 64% rename from nixos/hosts/framework-server/sleep.nix rename to nixos/hosts/framework-server/desktop.nix index b9a7505b..63b2d10e 100644 --- a/nixos/hosts/framework-server/sleep.nix +++ b/nixos/hosts/framework-server/desktop.nix @@ -3,4 +3,7 @@ systemd.targets.suspend.enable = false; systemd.targets.hibernate.enable = false; systemd.targets.hybrid-sleep.enable = false; + + services.gnome.gnome-remote-desktop.enable = true; + networking.firewall.allowedTCPPorts = [ 3389 ]; } \ No newline at end of file