mirror of
https://github.com/nix-community/home-manager
synced 2024-11-10 05:09:44 +01:00
0a30138c69
This allows `systemctl --user restart mpd.socket` to work properly.
12 lines
507 B
Desktop File
12 lines
507 B
Desktop File
[Service]
|
|
Environment=PATH=/home/hm-user/.nix-profile/bin
|
|
ExecStart=@mpd@/bin/mpd --no-daemon /nix/store/00000000000000000000000000000000-mpd.conf '--verbose'
|
|
ExecStartPre=/nix/store/00000000000000000000000000000000-bash/bin/bash -c "/nix/store/00000000000000000000000000000000-coreutils/bin/mkdir -p '/home/hm-user/.local/share/mpd' '/home/hm-user/.local/share/mpd/playlists'"
|
|
Type=notify
|
|
|
|
[Unit]
|
|
After=network.target
|
|
After=sound.target
|
|
After=mpd.socket
|
|
Description=Music Player Daemon
|
|
Requires=mpd.socket
|