diff options
Diffstat (limited to 'bragi.nix')
-rw-r--r-- | bragi.nix | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -75,9 +75,9 @@ in rec { | |||
75 | }; | 75 | }; |
76 | 76 | ||
77 | systemd.automounts = [ | 77 | systemd.automounts = [ |
78 | { where = "/media/odin"; } | 78 | { WantedBy = [ "multi-user.target" ]; where = "/media/odin"; } |
79 | { where = "/media/dellingr"; } | 79 | { WantedBy = [ "multi-user.target" ]; where = "/media/dellingr"; } |
80 | { where = "/media/vali"; } | 80 | { WantedBy = [ "multi-user.target" ]; where = "/media/vali"; } |
81 | ]; | 81 | ]; |
82 | 82 | ||
83 | systemd.mounts = [ | 83 | systemd.mounts = [ |
@@ -169,7 +169,7 @@ in rec { | |||
169 | user = "mpd"; | 169 | user = "mpd"; |
170 | group = "audio"; | 170 | group = "audio"; |
171 | }; | 171 | }; |
172 | systemd.services."mpd".requires = [ "jack.service" ]; | 172 | systemd.services."mpd".requires = [ "jack.service" "media-odin.mount" ]; |
173 | systemd.services."mpd".serviceConfig = { | 173 | systemd.services."mpd".serviceConfig = { |
174 | LimitMEMLOCK = "infinity"; | 174 | LimitMEMLOCK = "infinity"; |
175 | Nice = "-5"; | 175 | Nice = "-5"; |