From 24ff2fb458b0af164a44f7b48b32919c16728cc7 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 28 Dec 2021 22:17:13 +0100 Subject: ... --- hosts/vidhar/default.nix | 50 ++++++++++++++++++++++++------------------------ 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix index d97de10b..a7fb99ea 100644 --- a/hosts/vidhar/default.nix +++ b/hosts/vidhar/default.nix @@ -378,31 +378,31 @@ enable = true; workgroup = "WORKGROUP"; }; - }; - - fileSystems."/srv/eos.lower" = { - device = "UUID=2A3052E73052BA11"; - fsType = "ntfs3"; - options = [ "ro" "uid=mherold" "gid=users" "fmask=0177" "dmask=0077" ]; - }; - systemd.mounts = [ - { - wantedBy = [ "samba-smbd.service" ]; - before = [ "samba-smbd.service" ]; - - where = "/srv/eos"; - what = "overlay"; - type = "overlay"; - options = lib.concatStringsSep "," - [ "lowerdir=/srv/eos.lower" - "upperdir=/home/mherold/.eos.upper" - "workdir=/home/mherold/.eos.work" - ]; + fileSystems."/srv/eos.lower" = { + device = "UUID=2A3052E73052BA11"; + fsType = "ntfs3"; + options = [ "ro" "uid=mherold" "gid=users" "fmask=0177" "dmask=0077" ]; + }; - unitConfig = { - RequiresMountsFor = [ "/srv/eos.lower" "/home/mherold/.eos.upper" "/home/mherold/.eos.work" ]; - }; - } - ]; + systemd.mounts = [ + { + wantedBy = [ "samba-smbd.service" ]; + before = [ "samba-smbd.service" ]; + + where = "/srv/eos"; + what = "overlay"; + type = "overlay"; + options = lib.concatStringsSep "," + [ "lowerdir=/srv/eos.lower" + "upperdir=/home/mherold/.eos.upper" + "workdir=/home/mherold/.eos.work" + ]; + + unitConfig = { + RequiresMountsFor = [ "/srv/eos.lower" "/home/mherold/.eos.upper" "/home/mherold/.eos.work" ]; + }; + } + ]; + }; } -- cgit v1.2.3