From c25fdb360a5c41d3bcef0dfdeb7ed774bee66b84 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 9 Aug 2017 18:59:05 +0200 Subject: enable mounts --- bragi.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bragi.nix b/bragi.nix index fadf6349..f7efd6e1 100644 --- a/bragi.nix +++ b/bragi.nix @@ -75,9 +75,9 @@ in rec { }; systemd.automounts = [ - { where = "/media/odin"; } - { where = "/media/dellingr"; } - { where = "/media/vali"; } + { WantedBy = [ "multi-user.target" ]; where = "/media/odin"; } + { WantedBy = [ "multi-user.target" ]; where = "/media/dellingr"; } + { WantedBy = [ "multi-user.target" ]; where = "/media/vali"; } ]; systemd.mounts = [ @@ -169,7 +169,7 @@ in rec { user = "mpd"; group = "audio"; }; - systemd.services."mpd".requires = [ "jack.service" ]; + systemd.services."mpd".requires = [ "jack.service" "media-odin.mount" ]; systemd.services."mpd".serviceConfig = { LimitMEMLOCK = "infinity"; Nice = "-5"; -- cgit v1.2.3