diff --git a/flake.lock b/flake.lock deleted file mode 100644 index f535bc8..0000000 --- a/flake.lock +++ /dev/null @@ -1,63 +0,0 @@ -{ - "nodes": { - "home-manager": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ], - "utils": "utils" - }, - "locked": { - "lastModified": 1678714646, - "narHash": "sha256-L7u4ua/p3cTptqlTVwT1OaQMGkexULjQhKmUxRUYmMQ=", - "owner": "nix-community", - "repo": "home-manager", - "rev": "7fe539dfbba8a158a455b54697d1bd7e97b37c60", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "home-manager", - "type": "github" - } - }, - "nixpkgs": { - "locked": { - "lastModified": 1678654296, - "narHash": "sha256-aVfw3ThpY7vkUeF1rFy10NAkpKDS2imj3IakrzT0Occ=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "5a1dc8acd977ff3dccd1328b7c4a6995429a656b", - "type": "github" - }, - "original": { - "id": "nixpkgs", - "ref": "nixos-unstable", - "type": "indirect" - } - }, - "root": { - "inputs": { - "home-manager": "home-manager", - "nixpkgs": "nixpkgs" - } - }, - "utils": { - "locked": { - "lastModified": 1676283394, - "narHash": "sha256-XX2f9c3iySLCw54rJ/CZs+ZK6IQy7GXNY4nSOyu2QG4=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "3db36a8b464d0c4532ba1c7dda728f4576d6d073", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - } - }, - "root": "root", - "version": 7 -} diff --git a/modules/plasma.nix b/modules/plasma.nix index 32bb626..dd899c8 100644 --- a/modules/plasma.nix +++ b/modules/plasma.nix @@ -23,4 +23,10 @@ pinentryFlavor = "qt"; enableSSHSupport = true; }; + + # RDP + services.xrdp.enable = true; + services.xrdp.defaultWindowManager = "startplasma-x11"; + networking.firewall.allowedTCPPorts = [ 3389 ]; + services.xrdp.openFirewall = true; }