Add RDP to gandalf
This commit is contained in:
@@ -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
16
systems/modules/rdp.nix
Normal 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;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
'';
|
||||||
|
}
|
||||||
7
systems/modules/remmina.nix
Normal file
7
systems/modules/remmina.nix
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
remmina
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user