summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vali.nix14
1 files changed, 8 insertions, 6 deletions
diff --git a/vali.nix b/vali.nix
index 500aa66b..ec7d3518 100644
--- a/vali.nix
+++ b/vali.nix
@@ -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}