nix/nixos/containers/rdesktop/default.nix
2024-09-02 14:27:21 +09:00

24 lines
589 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/clean-hm.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;
};
};
}