diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-09-04 19:09:07 +0200 |
---|---|---|
committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-09-04 19:09:07 +0200 |
commit | 51193322799ec44b76dffc50998e197a75fafc89 (patch) | |
tree | 0b5962fd724e60d8c38b17894ebfbbf99eb08cd0 | |
parent | 074e490bc11d206ffaa507539bb364a5f5d0612f (diff) | |
download | nixos-51193322799ec44b76dffc50998e197a75fafc89.tar nixos-51193322799ec44b76dffc50998e197a75fafc89.tar.gz nixos-51193322799ec44b76dffc50998e197a75fafc89.tar.bz2 nixos-51193322799ec44b76dffc50998e197a75fafc89.tar.xz nixos-51193322799ec44b76dffc50998e197a75fafc89.zip |
syntax
-rw-r--r-- | vali.nix | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -164,8 +164,8 @@ rec { | |||
164 | 164 | ||
165 | systemd.automounts = [ | 165 | systemd.automounts = [ |
166 | { enable = true; | 166 | { enable = true; |
167 | where = "/var/media"; | ||
167 | automountConfig = { | 168 | automountConfig = { |
168 | Where = "/var/media"; | ||
169 | DirectoryMode = "555"; | 169 | DirectoryMode = "555"; |
170 | }; | 170 | }; |
171 | } | 171 | } |
@@ -173,9 +173,9 @@ rec { | |||
173 | 173 | ||
174 | systemd.mounts = [ | 174 | systemd.mounts = [ |
175 | { enable = true; | 175 | { enable = true; |
176 | where = "/var/media"; | ||
176 | mountConfig = { | 177 | mountConfig = { |
177 | What = "gkleen@hel.asgard.yggdrasil:/var/media"; | 178 | What = "gkleen@hel.asgard.yggdrasil:/var/media"; |
178 | Where = "/var/media"; | ||
179 | Type = "fuse.sshfs"; | 179 | Type = "fuse.sshfs"; |
180 | Options = "users,idmap=gkleen,IdentityFile=/home/user/.ssh/id_ed25519,allow_other,reconnect,_netdev"; | 180 | Options = "users,idmap=gkleen,IdentityFile=/home/user/.ssh/id_ed25519,allow_other,reconnect,_netdev"; |
181 | DirectoryMode = "555"; | 181 | DirectoryMode = "555"; |