From ae1bba28575e39a6d0dd9176d2b4107042c27194 Mon Sep 17 00:00:00 2001 From: Mohammad Rafiq Date: Thu, 27 Feb 2025 17:20:01 +0800 Subject: [PATCH] feat(filesystems): add windows disk --- hosts/nemesis/hardware-configuration.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hosts/nemesis/hardware-configuration.nix b/hosts/nemesis/hardware-configuration.nix index 0b69a18..be3f647 100644 --- a/hosts/nemesis/hardware-configuration.nix +++ b/hosts/nemesis/hardware-configuration.nix @@ -12,6 +12,7 @@ boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; + boot.supportedFilesystems = [ "ntfs" ]; fileSystems."/" = { device = "/dev/disk/by-uuid/4d62fc8f-29d1-45a5-a980-50beea5ab892"; @@ -24,6 +25,12 @@ options = [ "fmask=0077" "dmask=0077" ]; }; + fileSystems."/mnt/windows" = + { device = "/dev/nvme0n1p3"; + fsType = "ntfs-3g"; + options = [ "rw" "uid=rafiq" ]; + }; + swapDevices = [ { device = "/dev/disk/by-uuid/1fb29964-4a65-4cf4-9b45-9534d35845bc"; } ];