nix-config/systems/aarch64-linux/canis-nix/hardware.nix

32 lines
644 B
Nix
Raw Normal View History

2024-12-20 11:07:59 -05:00
{
lib,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = ["usb_storage"];
boot.initrd.kernelModules = [];
boot.kernelModules = [];
boot.extraModulePackages = [];
fileSystems."/" = {
device = "/dev/disk/by-uuid/674b5f97-f66d-43f1-b135-cfd3c68f9c3f";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/D95F-13F4";
fsType = "vfat";
options = ["fmask=0022" "dmask=0022"];
};
swapDevices = [];
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
}