summaryrefslogtreecommitdiff
path: root/hosts/vidhar/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/vidhar/default.nix')
-rw-r--r--hosts/vidhar/default.nix13
1 files changed, 9 insertions, 4 deletions
diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix
index a7fb99ea..7591db37 100644
--- a/hosts/vidhar/default.nix
+++ b/hosts/vidhar/default.nix
@@ -380,11 +380,16 @@
380 }; 380 };
381 381
382 fileSystems."/srv/eos.lower" = { 382 fileSystems."/srv/eos.lower" = {
383 device = "UUID=2A3052E73052BA11"; 383 device = "/dev/zvol/hdd-raid6/safe/home/mherold/eos/base";
384 fsType = "ntfs3"; 384 fsType = "ntfs3";
385 options = [ "ro" "uid=mherold" "gid=users" "fmask=0177" "dmask=0077" ]; 385 options = [ "ro" "uid=mherold" "gid=users" "fmask=0177" "dmask=0077" ];
386 }; 386 };
387 387
388 fileSystems."/srv/eos.upper" = {
389 device = "/dev/zvol/hdd-raid6/safe/home/mherold/eos/upper";
390 fsType = "ext4";
391 };
392
388 systemd.mounts = [ 393 systemd.mounts = [
389 { 394 {
390 wantedBy = [ "samba-smbd.service" ]; 395 wantedBy = [ "samba-smbd.service" ];
@@ -395,12 +400,12 @@
395 type = "overlay"; 400 type = "overlay";
396 options = lib.concatStringsSep "," 401 options = lib.concatStringsSep ","
397 [ "lowerdir=/srv/eos.lower" 402 [ "lowerdir=/srv/eos.lower"
398 "upperdir=/home/mherold/.eos.upper" 403 "upperdir=/srv/eos.upper/upper"
399 "workdir=/home/mherold/.eos.work" 404 "workdir=/srv/eos.upper/work"
400 ]; 405 ];
401 406
402 unitConfig = { 407 unitConfig = {
403 RequiresMountsFor = [ "/srv/eos.lower" "/home/mherold/.eos.upper" "/home/mherold/.eos.work" ]; 408 RequiresMountsFor = [ "/srv/eos.lower" "/srv/eos.upper" ];
404 }; 409 };
405 } 410 }
406 ]; 411 ];