From 9bd74a82a824b1540e5813b3f803760ffbe916db Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Sat, 12 Aug 2023 17:10:17 +0200 Subject: [PATCH] Windows :D --- hosts/omega/hardware.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/hosts/omega/hardware.nix b/hosts/omega/hardware.nix index 3846c87..4960879 100644 --- a/hosts/omega/hardware.nix +++ b/hosts/omega/hardware.nix @@ -8,6 +8,7 @@ boot.initrd.kernelModules = [ "dm-snapshot" ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; + boot.supportedFilesystems = [ "ntfs" ]; # https://elis.nu/blog/2020/05/nixos-tmpfs-as-root/ fileSystems."/" = { @@ -31,6 +32,18 @@ } ]; + # Windows + fileSystems."/mnt/C" = { + device = "/dev/disk/by-label/C"; + fsType = "ntfs-3g"; + options = [ "rw" "uid=1000"]; + }; + fileSystems."/mnt/Backup" = { + device = "/dev/disk/by-label/Backup"; + fsType = "ntfs-3g"; + options = [ "rw" "uid=1000"]; + }; + # Enables DHCP on all ethernet and wireless LAN interfaces. networking.useDHCP = lib.mkDefault true;