restart only alsa-store instead of pulseaudio

This commit is contained in:
Dmitriy Pleshevskiy 2024-07-26 14:45:33 +03:00
parent b6d04c928e
commit 2764bc463d
Signed by: pleshevskiy
GPG key ID: 17041163DA10A9A2

View file

@ -87,7 +87,7 @@
set -e set -e
${nixos-rebuild}/bin/nixos-rebuild switch --flake .#${hostname} $@ ${nixos-rebuild}/bin/nixos-rebuild switch --flake .#${hostname} $@
${lib.optionalString machine.config.hardware.pulseaudio.systemWide '' ${lib.optionalString machine.config.hardware.pulseaudio.systemWide ''
systemctl restart pulseaudio.service systemctl restart alsa-store.service
''} ''}
'') '')
localMachines); localMachines);