summaryrefslogtreecommitdiff
path: root/hostnix/weebnix
diff options
context:
space:
mode:
Diffstat (limited to 'hostnix/weebnix')
-rw-r--r--hostnix/weebnix/configuration.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/hostnix/weebnix/configuration.nix b/hostnix/weebnix/configuration.nix
index 067fd38..d0460bc 100644
--- a/hostnix/weebnix/configuration.nix
+++ b/hostnix/weebnix/configuration.nix
@@ -12,13 +12,16 @@
nix.settings.experimental-features = [ "nix-command" "flakes" ];
- # https://github.com/NixOS/nixpkgs/issues/122130#issuecomment-1568815007
- boot.initrd.availableKernelModules = [ "uas" "pcie-brcmstb" "reset-raspberrypi" ];
-
boot.loader.systemd-boot.enable = true;
# Raspberry Pi has no NVRAM.
boot.loader.efi.canTouchEfiVariables = false;
+ boot.kernelPackages = pkgs.linuxPackages_rpi4;
+ # https://github.com/NixOS/nixpkgs/issues/122130#issuecomment-1568815007
+ # It's unclear if these are strictly necessary with the downstream kernel,
+ # but let's leave them in to keep working with mainline.
+ boot.initrd.availableKernelModules = [ "uas" "pcie-brcmstb" "reset-raspberrypi" ];
+
networking.hostName = "weebnix";
networking.domain = "mou.fo";
# TODO secrets management or switch to wired