From c0361a1fbd793c0ef0583dea4a17f290b2719642 Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Mon, 2 Jun 2025 19:54:14 +0200 Subject: [PATCH] System: Mount movies/shows/music network drives to ~ --- system/nixinator/hardware-configuration.nix | 33 ++++++++++++++++----- 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/system/nixinator/hardware-configuration.nix b/system/nixinator/hardware-configuration.nix index a902885b..2bbb4ff6 100644 --- a/system/nixinator/hardware-configuration.nix +++ b/system/nixinator/hardware-configuration.nix @@ -31,15 +31,32 @@ ]; }; - fileSystems."/" = { - device = "/dev/disk/by-uuid/68bd46a0-e95c-4764-a006-44bd9975a6c2"; - fsType = "ext4"; - options = ["noatime" "nodiratime" "discard"]; - }; + fileSystems = { + "/" = { + device = "/dev/disk/by-uuid/68bd46a0-e95c-4764-a006-44bd9975a6c2"; + fsType = "ext4"; + options = ["noatime" "nodiratime" "discard"]; + }; - fileSystems."/boot/efi" = { - device = "/dev/disk/by-uuid/36A9-3D74"; - fsType = "vfat"; + "/boot/efi" = { + device = "/dev/disk/by-uuid/36A9-3D74"; + fsType = "vfat"; + }; + + "/home/christoph/Movies" = { + device = "192.168.86.20:/mnt/SG Exos Mirror 18TB/Movie"; + fsType = "nfs"; + }; + + "/home/christoph/Shows" = { + device = "192.168.86.20:/mnt/SG Exos Mirror 18TB/Show"; + fsType = "nfs"; + }; + + "/home/christoph/Music" = { + device = "192.168.86.20:/mnt/SG Exos Mirror 18TB/Music"; + fsType = "nfs"; + }; }; swapDevices = lib.mkForce [