nix/nixos/containers/rdesktop/default.nix
2024-12-16 00:56:33 +01:00

24 lines
588 B
Nix

{ pkgs, desktop, username, ... }: {
imports = [
../../users/${username}
../../common/desktops/${desktop}
../../common/packages
../../common/modules/fonts.nix
../../common/services/gnupg-agent.nix
../../common/software/cli/scripts.nix
../../common/services/tailscale-autoconnect.nix
../../common/services/syncthing.nix
];
hardware.pulseaudio.extraModules = [ pkgs.pulseaudio-module-xrdp ];
services.xrdp = {
enable = true;
openFirewall = true;
audio = {
enable = true;
package = pkgs.pulseaudio-module-xrdp;
};
};
}