From 78aa8051fb5a1b7421d257fb3e2433734dbfe4e0 Mon Sep 17 00:00:00 2001 From: lightly-toasted Date: Sat, 16 Aug 2025 01:20:32 +0900 Subject: [PATCH] feat: use ntfs for /data --- hosts/nixos/hardware-configuration.nix | 5 +++-- hosts/nixos/modules/boot.nix | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hosts/nixos/hardware-configuration.nix b/hosts/nixos/hardware-configuration.nix index c37a88e..487049a 100644 --- a/hosts/nixos/hardware-configuration.nix +++ b/hosts/nixos/hardware-configuration.nix @@ -22,8 +22,9 @@ }; fileSystems."/data" = - { device = "/dev/disk/by-uuid/7a421877-5b4e-4521-b284-67cba04d8dc0"; - fsType = "ext4"; + { device = "/dev/disk/by-uuid/6646713B46710CD5"; + fsType = "ntfs-3g"; + options = [ "rw" "uid=1000" ]; }; swapDevices = [ ]; diff --git a/hosts/nixos/modules/boot.nix b/hosts/nixos/modules/boot.nix index 89395d2..2904301 100644 --- a/hosts/nixos/modules/boot.nix +++ b/hosts/nixos/modules/boot.nix @@ -3,4 +3,5 @@ { boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; + boot.supportedFilesystems = [ "ntfs" ]; }