From be62fb52855cb321d65a6fe2a7084aeec5a5c667 Mon Sep 17 00:00:00 2001 From: chexit Date: Tue, 14 Apr 2026 23:50:38 +0300 Subject: [PATCH] auto mount hdd --- configuration.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configuration.nix b/configuration.nix index 441ab89..0e4f6d2 100644 --- a/configuration.nix +++ b/configuration.nix @@ -22,6 +22,14 @@ useOSProber = true; }; + # Disks + + fileSystems."/mnt/storage" = { + device = "/dev/disk/by-uuid/C4E29B73E29B6906"; + fsType = "ntfs-3g"; + options = [ "nosuid" "nodev" "nodev" "uid=1000" ]; + }; + # Use latest kernel. boot.kernelPackages = pkgs.linuxPackages_latest;