diff options
| author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-09-04 19:08:36 +0200 |
|---|---|---|
| committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-09-04 19:08:36 +0200 |
| commit | 074e490bc11d206ffaa507539bb364a5f5d0612f (patch) | |
| tree | eab7988193f4b9aabb21a13db3017d05234cad89 | |
| parent | a47c7511ea28e23f08ec96c4e999695189a74dd3 (diff) | |
| download | nixos-074e490bc11d206ffaa507539bb364a5f5d0612f.tar nixos-074e490bc11d206ffaa507539bb364a5f5d0612f.tar.gz nixos-074e490bc11d206ffaa507539bb364a5f5d0612f.tar.bz2 nixos-074e490bc11d206ffaa507539bb364a5f5d0612f.tar.xz nixos-074e490bc11d206ffaa507539bb364a5f5d0612f.zip | |
syntax
| -rw-r--r-- | vali.nix | 14 |
1 files changed, 8 insertions, 6 deletions
| @@ -162,7 +162,7 @@ rec { | |||
| 162 | ''; | 162 | ''; |
| 163 | }; | 163 | }; |
| 164 | 164 | ||
| 165 | systemd.automounts= [ | 165 | systemd.automounts = [ |
| 166 | { enable = true; | 166 | { enable = true; |
| 167 | automountConfig = { | 167 | automountConfig = { |
| 168 | Where = "/var/media"; | 168 | Where = "/var/media"; |
| @@ -173,11 +173,13 @@ rec { | |||
| 173 | 173 | ||
| 174 | systemd.mounts = [ | 174 | systemd.mounts = [ |
| 175 | { enable = true; | 175 | { enable = true; |
| 176 | What = "gkleen@hel.asgard.yggdrasil:/var/media"; | 176 | mountConfig = { |
| 177 | Where = "/var/media"; | 177 | What = "gkleen@hel.asgard.yggdrasil:/var/media"; |
| 178 | Type = "fuse.sshfs"; | 178 | Where = "/var/media"; |
| 179 | Options = "users,idmap=gkleen,IdentityFile=/home/user/.ssh/id_ed25519,allow_other,reconnect,_netdev"; | 179 | Type = "fuse.sshfs"; |
| 180 | DirectoryMode = "555"; | 180 | Options = "users,idmap=gkleen,IdentityFile=/home/user/.ssh/id_ed25519,allow_other,reconnect,_netdev"; |
| 181 | DirectoryMode = "555"; | ||
| 182 | }; | ||
| 181 | } | 183 | } |
| 182 | ]; | 184 | ]; |
| 183 | } | 185 | } |
