summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vali.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/vali.nix b/vali.nix
index ec7d3518..fb634ee3 100644
--- a/vali.nix
+++ b/vali.nix
@@ -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";