summaryrefslogtreecommitdiff
path: root/bragi.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-08-09 19:08:13 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2017-08-09 19:08:13 +0200
commit721387045b261c024e5e8e41ae3321e2ad415cbb (patch)
tree1194e56b2b62cc8a310354b541f79658138b3e64 /bragi.nix
parent79b78c4e9f9f2f7d0fbfff9e8a4d8ddb7a7c06eb (diff)
downloadnixos-721387045b261c024e5e8e41ae3321e2ad415cbb.tar
nixos-721387045b261c024e5e8e41ae3321e2ad415cbb.tar.gz
nixos-721387045b261c024e5e8e41ae3321e2ad415cbb.tar.bz2
nixos-721387045b261c024e5e8e41ae3321e2ad415cbb.tar.xz
nixos-721387045b261c024e5e8e41ae3321e2ad415cbb.zip
automount timeouts
Diffstat (limited to 'bragi.nix')
-rw-r--r--bragi.nix17
1 files changed, 14 insertions, 3 deletions
diff --git a/bragi.nix b/bragi.nix
index ba9d6ab2..caa30403 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -75,9 +75,20 @@ in rec {
75 }; 75 };
76 76
77 systemd.automounts = [ 77 systemd.automounts = [
78 { wantedBy = [ "multi-user.target" ]; where = "/media/odin"; } 78 {
79 { wantedBy = [ "multi-user.target" ]; where = "/media/dellingr"; } 79 wantedBy = [ "multi-user.target" ];
80 { wantedBy = [ "multi-user.target" ]; where = "/media/vali"; } 80 where = "/media/odin";
81 }
82 {
83 wantedBy = [ "multi-user.target" ];
84 where = "/media/dellingr";
85 automountConfig.TimoutIdleSec = "30s";
86 }
87 {
88 wantedBy = [ "multi-user.target" ];
89 where = "/media/vali";
90 automountConfig.TimoutIdleSec = "5min";
91 }
81 ]; 92 ];
82 93
83 systemd.mounts = [ 94 systemd.mounts = [