1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 19:49:45 +01:00
home-manager/tests/modules/services/mpd/basic-configuration.service

14 lines
503 B
SYSTEMD
Raw Normal View History

2022-03-04 00:43:40 +01: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 --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'"
2022-03-04 00:43:40 +01:00
Type=notify
[Unit]
After=network.target
After=sound.target
Description=Music Player Daemon