From 8f3b75e9526ba0530e9d05ed0d654631c81dfec1 Mon Sep 17 00:00:00 2001 From: Paul Hartman Date: Sat, 1 Mar 2025 04:34:28 -0600 Subject: [PATCH] Adding new NAS Directory --- hosts/legion/configuration.nix | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/hosts/legion/configuration.nix b/hosts/legion/configuration.nix index 3551ecb..774731b 100644 --- a/hosts/legion/configuration.nix +++ b/hosts/legion/configuration.nix @@ -28,7 +28,7 @@ fileSystems."/mnt/nas/OldNas" = { "defaults" "users" "credentials=/home/paul/.smbcredentials" - "guid=100" + "guid=1000" "noauto" "x-systemd.automount" ]; @@ -62,6 +62,21 @@ fileSystems."/mnt/nas/tvshows" = { ]; }; +fileSystems."/mnt/nas/media2" = { + device = "//192.168.1.194/media2"; + fsType = "cifs"; + options = [ + "noperm" + "defaults" + "users" + "credentials=/home/paul/.smbcredentials" + "uid=1000" + "noauto" + "x-systemd.automount" + ]; +}; + + # boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_6; boot.kernelModules = ["drivetemp"]; # Enable experimental Feature @@ -489,7 +504,8 @@ fileSystems."/mnt/nas/tvshows" = { virtualisation.docker.autoPrune.dates = "weekly"; #virtualisation.docker.enableNvidia = true; virtualisation.docker.enableOnBoot = true; - + + ## FIREWALL # Open ports in the firewall.