Pulseaudio doesn't play nice with symlinks

This commit is contained in:
Charlotte Van Petegem 2020-05-23 12:27:44 +02:00
parent 80decd1707
commit 4b4de3f3fe

View file

@ -1,14 +1,14 @@
{ ... }:
{ config, lib, ... }:
{
custom.zfs.systemLinks = [
{ path = "/var/lib/pulse"; type = "data"; }
];
sound.enable = true;
hardware.pulseaudio = {
enable = true;
systemWide = true;
};
# PulseAudio doesn't play nice with symlinks
systemd.user.services.pulseaudio.environment = lib.mkIf config.custom.zfs.enable {
XDG_CONFIG_HOME = "/data/home/charlotte/.config";
};
users.users.charlotte.extraGroups = [ "audio" ];