summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <pngwjpgh@users.noreply.github.com>2016-09-04 19:21:05 +0200
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2016-09-04 19:21:05 +0200
commit156473a609c35006f81bd7bdf68daf35bba03239 (patch)
tree6555c2552447cbf5fb4a9c7c21ec07a03de553df
parente7d9599150dc4df6e90adfaf40c36184fae3d9af (diff)
downloadnixos-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.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/vali.nix b/vali.nix
index 63f28fbd..2d8fe6b7 100644
--- a/vali.nix
+++ b/vali.nix
@@ -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 };