Add RDP to gandalf

This commit is contained in:
2026-03-25 10:08:07 +01:00
parent 37e2708326
commit da793609a7
4 changed files with 25 additions and 0 deletions

View File

@@ -20,6 +20,7 @@
../modules/audacity.nix ../modules/audacity.nix
../modules/ollama.nix ../modules/ollama.nix
../modules/wireguard.nix ../modules/wireguard.nix
../modules/rdp.nix
]; ];
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;

16
systems/modules/rdp.nix Normal file
View File

@@ -0,0 +1,16 @@
{ pkgs, ... }:
{
services.xserver.desktopManager.plasma6.enable = true;
services.xrdp.enable = true;
services.xrdp.defaultWindowManager = "startplasma-x11";
services.xrdp.openFirewall = true;
programs.seahorse.enable = false;
security.polkit.extraConfig = ''
polkit.addRule(function(action, subject) {
if (action.id.indexOf("org.freedesktop.color-manager.") == 0 && subject.isInGroup("users")) {
return polkit.Result.YES;
}
});
'';
}

View File

@@ -0,0 +1,7 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
remmina
];
}

View File

@@ -17,6 +17,7 @@
../modules/azure-data-studio.nix ../modules/azure-data-studio.nix
../modules/filezilla.nix ../modules/filezilla.nix
../modules/wireguard.nix ../modules/wireguard.nix
../modules/remmina.nix
]; ];
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;