diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-09-04 19:21:05 +0200 |
---|---|---|
committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-09-04 19:21:05 +0200 |
commit | 156473a609c35006f81bd7bdf68daf35bba03239 (patch) | |
tree | 6555c2552447cbf5fb4a9c7c21ec07a03de553df | |
parent | e7d9599150dc4df6e90adfaf40c36184fae3d9af (diff) | |
download | nixos-156473a609c35006f81bd7bdf68daf35bba03239.tar nixos-156473a609c35006f81bd7bdf68daf35bba03239.tar.gz nixos-156473a609c35006f81bd7bdf68daf35bba03239.tar.bz2 nixos-156473a609c35006f81bd7bdf68daf35bba03239.tar.xz nixos-156473a609c35006f81bd7bdf68daf35bba03239.zip |
idmap does not take a username
-rw-r--r-- | vali.nix | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -174,9 +174,9 @@ rec { | |||
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 = "media@hel.asgard.yggdrasil:/var/media"; |
178 | type = "fuse.sshfs"; | 178 | type = "fuse.sshfs"; |
179 | options = "users,idmap=gkleen,IdentityFile=/home/user/.ssh/id_media@hel,allow_other,reconnect,_netdev"; | 179 | options = "users,idmap=user,IdentityFile=/home/user/.ssh/id_media@hel,allow_other,reconnect,_netdev"; |
180 | mountConfig = { | 180 | mountConfig = { |
181 | DirectoryMode = "555"; | 181 | DirectoryMode = "555"; |
182 | }; | 182 | }; |