summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-08-09 18:59:05 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2017-08-09 18:59:05 +0200
commitc25fdb360a5c41d3bcef0dfdeb7ed774bee66b84 (patch)
tree589b2065b61b7b01baaeef1f25555406d63eecf5
parentef2faad1898fd16dd9c99411a625b37499febf0e (diff)
downloadnixos-c25fdb360a5c41d3bcef0dfdeb7ed774bee66b84.tar
nixos-c25fdb360a5c41d3bcef0dfdeb7ed774bee66b84.tar.gz
nixos-c25fdb360a5c41d3bcef0dfdeb7ed774bee66b84.tar.bz2
nixos-c25fdb360a5c41d3bcef0dfdeb7ed774bee66b84.tar.xz
nixos-c25fdb360a5c41d3bcef0dfdeb7ed774bee66b84.zip
enable mounts
-rw-r--r--bragi.nix8
1 files 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 {
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";