28 lines
527 B
Nix
28 lines
527 B
Nix
|
{ lib, pkgs, ... }:
|
||
|
with lib;
|
||
|
{
|
||
|
mySystem.system.packages = with pkgs; [
|
||
|
ntfs3g
|
||
|
];
|
||
|
|
||
|
boot = {
|
||
|
|
||
|
initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
||
|
kernelModules = [ ];
|
||
|
extraModulePackages = [ ];
|
||
|
|
||
|
# for managing/mounting ntfs
|
||
|
supportedFilesystems = [ "ntfs" ];
|
||
|
|
||
|
loader = {
|
||
|
systemd-boot.enable = true;
|
||
|
efi.canTouchEfiVariables = true;
|
||
|
grub.memtest86.enable = true;
|
||
|
|
||
|
};
|
||
|
};
|
||
|
|
||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||
|
|
||
|
}
|