diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-08-09 18:59:05 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-08-09 18:59:05 +0200 |
commit | c25fdb360a5c41d3bcef0dfdeb7ed774bee66b84 (patch) | |
tree | 589b2065b61b7b01baaeef1f25555406d63eecf5 | |
parent | ef2faad1898fd16dd9c99411a625b37499febf0e (diff) | |
download | nixos-c25fdb360a5c41d3bcef0dfdeb7ed774bee66b84.tar nixos-c25fdb360a5c41d3bcef0dfdeb7ed774bee66b84.tar.gz nixos-c25fdb360a5c41d3bcef0dfdeb7ed774bee66b84.tar.bz2 nixos-c25fdb360a5c41d3bcef0dfdeb7ed774bee66b84.tar.xz nixos-c25fdb360a5c41d3bcef0dfdeb7ed774bee66b84.zip |
enable mounts
-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"; |