diff options
| -rw-r--r-- | vali.nix | 40 |
1 files changed, 20 insertions, 20 deletions
| @@ -162,24 +162,24 @@ rec { | |||
| 162 | ''; | 162 | ''; |
| 163 | }; | 163 | }; |
| 164 | 164 | ||
| 165 | systemd.automounts = [ | 165 | # systemd.automounts = [ |
| 166 | { enable = true; | 166 | # { enable = true; |
| 167 | where = "/var/media"; | 167 | # where = "/var/media"; |
| 168 | automountConfig = { | 168 | # automountConfig = { |
| 169 | DirectoryMode = "555"; | 169 | # DirectoryMode = "555"; |
| 170 | }; | 170 | # }; |
| 171 | } | 171 | # } |
| 172 | ]; | 172 | # ]; |
| 173 | 173 | ||
| 174 | systemd.mounts = [ | 174 | # systemd.mounts = [ |
| 175 | { enable = true; | 175 | # { enable = true; |
| 176 | where = "/var/media"; | 176 | # where = "/var/media"; |
| 177 | what = "gkleen@hel.asgard.yggdrasil:/var/media"; | 177 | # what = "gkleen@hel.asgard.yggdrasil:/var/media"; |
| 178 | type = "fuse.sshfs"; | 178 | # type = "fuse.sshfs"; |
| 179 | options = "users,idmap=gkleen,IdentityFile=/home/user/.ssh/id_ed25519,allow_other,reconnect,_netdev"; | 179 | # options = "users,idmap=gkleen,IdentityFile=/home/user/.ssh/id_ed25519,allow_other,reconnect,_netdev"; |
| 180 | mountConfig = { | 180 | # mountConfig = { |
| 181 | DirectoryMode = "555"; | 181 | # DirectoryMode = "555"; |
| 182 | }; | 182 | # }; |
| 183 | } | 183 | # } |
| 184 | ]; | 184 | # ]; |
| 185 | } | 185 | } |
