ops/nixos/porcorosso: add NTFS drive

This commit is contained in:
Luke Granger-Brown 2020-05-11 21:15:49 +01:00
parent d7897ddbe5
commit 9567a9803b

View file

@ -26,6 +26,7 @@ in {
"rtsx_pci_sdmmc"
];
boot.kernelModules = [ "kvm-intel" ];
boot.supportedFilesystems = [ "ntfs" ];
fileSystems = let
zfs = device: {
@ -45,6 +46,11 @@ in {
device = "/dev/disk/by-label/NIXBOOT";
fsType = "vfat";
};
"/data" = {
device = "/dev/disk/by-label/BULKDATA";
fsType = "ntfs";
options = [ "rw" "uid=1000" "gid=100" "dmask=077" "fmask=137" "windows_names" ];
};
};
nix.maxJobs = lib.mkDefault 12;
@ -205,5 +211,5 @@ in {
# compatible, in order to avoid breaking some software such as database
# servers. You should change this only after NixOS release notes say you
# should.
system.stateVersion = "19.09"; # Did you read the comment?
system.stateVersion = "20.03"; # Did you read the comment?
}