Pulseaudio doesn't play nice with symlinks
This commit is contained in:
parent
80decd1707
commit
4b4de3f3fe
1 changed files with 6 additions and 6 deletions
|
@ -1,14 +1,14 @@
|
||||||
{ ... }:
|
{ config, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
custom.zfs.systemLinks = [
|
|
||||||
{ path = "/var/lib/pulse"; type = "data"; }
|
|
||||||
];
|
|
||||||
|
|
||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
hardware.pulseaudio = {
|
hardware.pulseaudio = {
|
||||||
enable = true;
|
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" ];
|
users.users.charlotte.extraGroups = [ "audio" ];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue