32 lines
864 B
Nix
32 lines
864 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 ];
|
|
|
|
# Testing fixes for home-manager
|
|
systemd.tmpfiles.rules = [
|
|
# Create parent directory first
|
|
"d /home/albert/.config/dconf 0755 albert users -"
|
|
# Create empty file with proper permissions
|
|
"f /home/albert/.config/dconf/user.UMZ112 0644 albert users -"
|
|
];
|
|
|
|
services.xrdp = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
audio = {
|
|
enable = true;
|
|
package = pkgs.pulseaudio-module-xrdp;
|
|
};
|
|
};
|
|
|
|
}
|