home-manager/tests/modules/services/mpd/basic-configuration.service

14 lines
493 B
SYSTEMD
Raw Normal View History

2022-03-03 23:43:40 +00:00
[Install]
WantedBy=default.target
[Service]
Environment=PATH=/home/hm-user/.nix-profile/bin
ExecStart=@mpd@/bin/mpd --no-daemon /nix/store/00000000000000000000000000000000-mpd.conf
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'"
2022-03-03 23:43:40 +00:00
Type=notify
[Unit]
After=network.target
After=sound.target
Description=Music Player Daemon