9786bc9cd6
* chore: tweak favourites * chore: hacking * feat: add nix-serve * hax * re-encrypt * haxing bind * hacing sonarr/traef * hack * hack * feat: add bind for local dns (manual) * fix * hacked up dns --------- Co-authored-by: Truxnell <9149206+truxnell@users.noreply.github.com>
32 lines
658 B
Nix
32 lines
658 B
Nix
{ config, lib, pkgs, imports, boot, ... }:
|
|
|
|
with lib;
|
|
{
|
|
boot = {
|
|
|
|
initrd.availableKernelModules = [ "xhci_pci" "usb_storage" ];
|
|
initrd.kernelModules = [ ];
|
|
kernelModules = [ ];
|
|
extraModulePackages = [ ];
|
|
|
|
loader = {
|
|
# Use the extlinux boot loader. (NixOS wants to enable GRUB by default)
|
|
grub.enable = false;
|
|
# Enables the generation of /boot/extlinux/extlinux.conf
|
|
generic-extlinux-compatible.enable = true;
|
|
timeout = 2;
|
|
};
|
|
};
|
|
|
|
nixpkgs.hostPlatform.system = "aarch64-linux";
|
|
|
|
console.enable = false;
|
|
|
|
mySystem.system.packages = with pkgs; [
|
|
libraspberrypi
|
|
raspberrypi-eeprom
|
|
];
|
|
|
|
|
|
}
|
|
|