diff options
Diffstat (limited to '')
-rw-r--r-- | home-manager/config/mpd/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/home-manager/config/mpd/default.nix b/home-manager/config/mpd/default.nix index 6d35e947..3c83a468 100644 --- a/home-manager/config/mpd/default.nix +++ b/home-manager/config/mpd/default.nix @@ -9,8 +9,9 @@ playlistDirectory = "${dataDir}/playlists"; runtimeDir = "/run/user/1000/mpd"; # TODO don't hardcode uid in { - systemd.user.services.mpd.Service.ExecStartPre = lib.mkForce '' - ${pkgs.coreutils}/bin/mkdir -p "${dataDir}" "${playlistDirectory}" "${runtimeDir}"''; + systemd.user.services.mpd.Service.ExecStartPre = + lib.mkForce '' + ${pkgs.coreutils}/bin/mkdir -p "${dataDir}" "${playlistDirectory}" "${runtimeDir}"''; services.mpd = { enable = true; inherit dataDir; |