nix/nixos/containers/rdesktop/default.nix
2024-06-27 17:28:29 +09:00

25 lines
658 B
Nix

{ desktop, username, lib, ... }: {
imports = [
../../users/${username}
../../common/desktops/${desktop}
../../common/packages
../../common/modules/fonts.nix
../../common/services/gnupg-agent.nix
../../common/software/cli/clean-hm.nix
];
hardware.pulseaudio.enable = lib.mkDefault true;
hardware.pulseaudio.support32Bit = lib.mkDefault true;
services.pipewire = {
enable = lib.mkDefault false;
alsa.enable = lib.mkDefault false;
alsa.support32Bit = lib.mkDefault false;
pulse.enable = lib.mkDefault false;
};
services.xrdp = {
enable = true;
openFirewall = true;
audio.enable = true;
};
}