From 58a0e6166dfe442b6949f89ec1784ba5f7b451fe Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Fri, 17 Feb 2023 18:15:23 -0500 Subject: [PATCH] allow reading windows ntfs drives --- nixos/hardware/boot.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nixos/hardware/boot.nix b/nixos/hardware/boot.nix index 3d30be8..875b586 100644 --- a/nixos/hardware/boot.nix +++ b/nixos/hardware/boot.nix @@ -35,4 +35,9 @@ # Allows GRUB to interact with the UEFI/BIOS I guess efi.canTouchEfiVariables = true; }; + + # Allow reading from Windows drives + boot.supportedFilesystems = + lib.mkIf (config.physical && pkgs.stdenv.isLinux) [ "ntfs" ]; + }