27 lines
690 B
Nix
27 lines
690 B
Nix
{ config, lib, pkgs, modulesPath, ... }:
|
|
{
|
|
imports =
|
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
|
];
|
|
boot.initrd.availableKernelModules = [ "xhci_pci" ];
|
|
boot.initrd.kernelModules = [ ];
|
|
boot.kernelModules = [ ];
|
|
boot.extraModulePackages = [ ];
|
|
fileSystems."/" =
|
|
{ device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
|
|
fsType = "ext4";
|
|
};
|
|
fileSystems."/storage" =
|
|
{ device = "/dev/disk/by-label/STORAGE";
|
|
fsType = "ext4";
|
|
options = [ "nofail" ];
|
|
};
|
|
swapDevices = [
|
|
{ device = "/swapfile";
|
|
size = 4096;
|
|
}
|
|
];
|
|
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
|
hardware.i2c.enable = true;
|
|
}
|