ops/nixos/porcorosso: add NTFS drive
This commit is contained in:
parent
d7897ddbe5
commit
9567a9803b
1 changed files with 7 additions and 1 deletions
|
@ -26,6 +26,7 @@ in {
|
||||||
"rtsx_pci_sdmmc"
|
"rtsx_pci_sdmmc"
|
||||||
];
|
];
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
|
boot.supportedFilesystems = [ "ntfs" ];
|
||||||
|
|
||||||
fileSystems = let
|
fileSystems = let
|
||||||
zfs = device: {
|
zfs = device: {
|
||||||
|
@ -45,6 +46,11 @@ in {
|
||||||
device = "/dev/disk/by-label/NIXBOOT";
|
device = "/dev/disk/by-label/NIXBOOT";
|
||||||
fsType = "vfat";
|
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;
|
nix.maxJobs = lib.mkDefault 12;
|
||||||
|
@ -205,5 +211,5 @@ in {
|
||||||
# compatible, in order to avoid breaking some software such as database
|
# compatible, in order to avoid breaking some software such as database
|
||||||
# servers. You should change this only after NixOS release notes say you
|
# servers. You should change this only after NixOS release notes say you
|
||||||
# should.
|
# should.
|
||||||
system.stateVersion = "19.09"; # Did you read the comment?
|
system.stateVersion = "20.03"; # Did you read the comment?
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue