From b9e6714ef53fc124d784e3be240ff17410ee117b Mon Sep 17 00:00:00 2001 From: Mel Date: Sun, 14 Jun 2026 22:38:20 +0200 Subject: Split Bismuth disk 'Two' into Windows-side and Linux-side partitions with ext4+NTFS Signed-off-by: Mel --- machines/bismuth/devices.nix | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'machines/bismuth') diff --git a/machines/bismuth/devices.nix b/machines/bismuth/devices.nix index 64a5809..2426a11 100644 --- a/machines/bismuth/devices.nix +++ b/machines/bismuth/devices.nix @@ -47,7 +47,9 @@ # disks boot.supportedFilesystems = [ "ntfs" ]; + # see: man mount(8) for options fileSystems = { + # primary windows system disk "/run/media/mel/Main" = { device = "/dev/disk/by-label/Main"; fsType = "ntfs-3g"; @@ -61,8 +63,9 @@ ]; }; - "/run/media/mel/Two" = { - device = "/dev/disk/by-label/Two"; + # large storage disk, windows-side partition + "/run/media/mel/Wo" = { + device = "/dev/disk/by-label/Wo"; fsType = "ntfs-3g"; options = [ "defaults" @@ -73,6 +76,17 @@ "uid=1000" ]; }; + + # large storage disk, linux-side partition + "/run/media/mel/To" = { + device = "/dev/disk/by-label/To"; + fsType = "ext4"; + options = [ + "defaults" + "nodiscard" # continuous trim not recommended + "nofail" + ]; + }; }; # printing -- cgit 1.4.1