You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
731 B

{
imports = [
../common/optional/ephemeral-btrfs.nix
];
boot = {
initrd = {
availableKernelModules = [ "xhci_pci" ];
};
loader.timeout = 5;
};
fileSystems = {
"/boot" = {
device = "/dev/disk/by-label/BOOT";
fsType = "ext4";
neededForBoot = true;
};
"/firmware" = {
device = "/dev/disk/by-label/FIRMWARE";
fsType = "vfat";
};
"/media" = {
device = "/dev/disk/by-label/MEDIA_HDD";
fsType = "ext4";
};
};
swapDevices = [{
device = "/swap/swapfile";
size = 8196;
}];
hardware.raspberry-pi."4".i2c1.enable = true;
nixpkgs.hostPlatform.system = "aarch64-linux";
powerManagement.cpuFreqGovernor = "ondemand";
}