diff options
-rw-r--r-- | hosts/vidhar/default.nix | 50 |
1 files 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 @@ | |||
378 | enable = true; | 378 | enable = true; |
379 | workgroup = "WORKGROUP"; | 379 | workgroup = "WORKGROUP"; |
380 | }; | 380 | }; |
381 | }; | ||
382 | |||
383 | fileSystems."/srv/eos.lower" = { | ||
384 | device = "UUID=2A3052E73052BA11"; | ||
385 | fsType = "ntfs3"; | ||
386 | options = [ "ro" "uid=mherold" "gid=users" "fmask=0177" "dmask=0077" ]; | ||
387 | }; | ||
388 | 381 | ||
389 | systemd.mounts = [ | 382 | fileSystems."/srv/eos.lower" = { |
390 | { | 383 | device = "UUID=2A3052E73052BA11"; |
391 | wantedBy = [ "samba-smbd.service" ]; | 384 | fsType = "ntfs3"; |
392 | before = [ "samba-smbd.service" ]; | 385 | options = [ "ro" "uid=mherold" "gid=users" "fmask=0177" "dmask=0077" ]; |
393 | 386 | }; | |
394 | where = "/srv/eos"; | ||
395 | what = "overlay"; | ||
396 | type = "overlay"; | ||
397 | options = lib.concatStringsSep "," | ||
398 | [ "lowerdir=/srv/eos.lower" | ||
399 | "upperdir=/home/mherold/.eos.upper" | ||
400 | "workdir=/home/mherold/.eos.work" | ||
401 | ]; | ||
402 | 387 | ||
403 | unitConfig = { | 388 | systemd.mounts = [ |
404 | RequiresMountsFor = [ "/srv/eos.lower" "/home/mherold/.eos.upper" "/home/mherold/.eos.work" ]; | 389 | { |
405 | }; | 390 | wantedBy = [ "samba-smbd.service" ]; |
406 | } | 391 | before = [ "samba-smbd.service" ]; |
407 | ]; | 392 | |
393 | where = "/srv/eos"; | ||
394 | what = "overlay"; | ||
395 | type = "overlay"; | ||
396 | options = lib.concatStringsSep "," | ||
397 | [ "lowerdir=/srv/eos.lower" | ||
398 | "upperdir=/home/mherold/.eos.upper" | ||
399 | "workdir=/home/mherold/.eos.work" | ||
400 | ]; | ||
401 | |||
402 | unitConfig = { | ||
403 | RequiresMountsFor = [ "/srv/eos.lower" "/home/mherold/.eos.upper" "/home/mherold/.eos.work" ]; | ||
404 | }; | ||
405 | } | ||
406 | ]; | ||
407 | }; | ||
408 | } | 408 | } |