From 074e490bc11d206ffaa507539bb364a5f5d0612f Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 4 Sep 2016 19:08:36 +0200 Subject: syntax --- vali.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'vali.nix') diff --git a/vali.nix b/vali.nix index 500aa66b..ec7d3518 100644 --- a/vali.nix +++ b/vali.nix @@ -162,7 +162,7 @@ rec { ''; }; - systemd.automounts= [ + systemd.automounts = [ { enable = true; automountConfig = { Where = "/var/media"; @@ -173,11 +173,13 @@ rec { systemd.mounts = [ { enable = true; - What = "gkleen@hel.asgard.yggdrasil:/var/media"; - Where = "/var/media"; - Type = "fuse.sshfs"; - Options = "users,idmap=gkleen,IdentityFile=/home/user/.ssh/id_ed25519,allow_other,reconnect,_netdev"; - DirectoryMode = "555"; + mountConfig = { + What = "gkleen@hel.asgard.yggdrasil:/var/media"; + Where = "/var/media"; + Type = "fuse.sshfs"; + Options = "users,idmap=gkleen,IdentityFile=/home/user/.ssh/id_ed25519,allow_other,reconnect,_netdev"; + DirectoryMode = "555"; + }; } ]; } -- cgit v1.2.3