diff options
-rw-r--r-- | vali.nix | 44 |
1 files changed, 22 insertions, 22 deletions
@@ -170,26 +170,26 @@ rec { | |||
170 | ''; | 170 | ''; |
171 | }; | 171 | }; |
172 | 172 | ||
173 | systemd.automounts = [ | 173 | # systemd.automounts = [ |
174 | { enable = true; | 174 | # { enable = true; |
175 | where = "/var/media"; | 175 | # where = "/var/media"; |
176 | automountConfig = { | 176 | # automountConfig = { |
177 | DirectoryMode = "555"; | 177 | # DirectoryMode = "555"; |
178 | }; | 178 | # }; |
179 | wantedBy = [ "remote-fs.target" ]; | 179 | # wantedBy = [ "remote-fs.target" ]; |
180 | } | 180 | # } |
181 | ]; | 181 | # ]; |
182 | 182 | ||
183 | systemd.mounts = [ | 183 | # systemd.mounts = [ |
184 | { enable = true; | 184 | # { enable = true; |
185 | where = "/var/media"; | 185 | # where = "/var/media"; |
186 | what = "media@hel.asgard.yggdrasil:/var/media"; | 186 | # what = "media@hel.asgard.yggdrasil:/var/media"; |
187 | type = "fuse.sshfs"; | 187 | # type = "fuse.sshfs"; |
188 | options = "idmap=user,IdentityFile=/home/gkleen/.ssh/media@hel,allow_other,reconnect,_netdev"; | 188 | # options = "idmap=user,IdentityFile=/home/gkleen/.ssh/media@hel,allow_other,reconnect,_netdev"; |
189 | mountConfig = { | 189 | # mountConfig = { |
190 | Environment = "PATH=/run/current-system/sw/bin:/run/current/system/sw/sbin"; | 190 | # Environment = "PATH=/run/current-system/sw/bin:/run/current/system/sw/sbin"; |
191 | DirectoryMode = "555"; | 191 | # DirectoryMode = "555"; |
192 | }; | 192 | # }; |
193 | } | 193 | # } |
194 | ]; | 194 | # ]; |
195 | } | 195 | } |