From ce2c7f8d1fc4dbfe5cfc3393847d76cac04154b8 Mon Sep 17 00:00:00 2001 From: iFargle Date: Mon, 4 Dec 2023 17:44:09 +0900 Subject: [PATCH] Test --- nixos/hosts/framework-server/default.nix | 2 +- nixos/hosts/framework-server/{sleep.nix => desktop.nix} | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) rename nixos/hosts/framework-server/{sleep.nix => desktop.nix} (64%) 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