diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-12-28 22:17:13 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-12-28 22:17:13 +0100 |
commit | 24ff2fb458b0af164a44f7b48b32919c16728cc7 (patch) | |
tree | 4b16b43b0b8c46f738dcf1dd31161fa2634cb74f | |
parent | 8d54a2a331132efb7410b39a65d2de28972434ee (diff) | |
download | nixos-24ff2fb458b0af164a44f7b48b32919c16728cc7.tar nixos-24ff2fb458b0af164a44f7b48b32919c16728cc7.tar.gz nixos-24ff2fb458b0af164a44f7b48b32919c16728cc7.tar.bz2 nixos-24ff2fb458b0af164a44f7b48b32919c16728cc7.tar.xz nixos-24ff2fb458b0af164a44f7b48b32919c16728cc7.zip |
...
-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 | } |