diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-08-09 19:08:13 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-08-09 19:08:13 +0200 |
| commit | 721387045b261c024e5e8e41ae3321e2ad415cbb (patch) | |
| tree | 1194e56b2b62cc8a310354b541f79658138b3e64 | |
| parent | 79b78c4e9f9f2f7d0fbfff9e8a4d8ddb7a7c06eb (diff) | |
| download | nixos-721387045b261c024e5e8e41ae3321e2ad415cbb.tar nixos-721387045b261c024e5e8e41ae3321e2ad415cbb.tar.gz nixos-721387045b261c024e5e8e41ae3321e2ad415cbb.tar.bz2 nixos-721387045b261c024e5e8e41ae3321e2ad415cbb.tar.xz nixos-721387045b261c024e5e8e41ae3321e2ad415cbb.zip | |
automount timeouts
| -rw-r--r-- | bragi.nix | 17 |
1 files changed, 14 insertions, 3 deletions
| @@ -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 = [ |
