simplify bemmer config some more

This commit is contained in:
Yuka 2021-10-24 22:56:43 +02:00
parent 8ac7010414
commit 3e8b76b643
Signed by: Yuka
GPG key ID: B95AE06334AFF6BA
2 changed files with 4 additions and 3 deletions

View file

@ -1,7 +1,7 @@
{ lib, pkgs, ... }:
{
boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
boot.kernelPackages = lib.mkOverride 2000 pkgs.linuxPackages_latest;
boot.kernelParams = [ "quiet" ];
services.openssh.enable = true;

View file

@ -17,8 +17,11 @@
../../shared-services/webserver.nix
];
# We import sd-image-aarch64.nix so we can build a config.system.build.sdImage
# But it imports some modules we don't want, so disable them
disabledModules = [
"profiles/base.nix"
"profiles/all-hardware.nix"
];
networking.hostName = "bemmer";
@ -26,8 +29,6 @@
networking.useDHCP = true;
nixpkgs.system = "aarch64-linux";
boot.initrd.availableKernelModules = lib.mkForce [ "vc4" "i2c_bcm2835" ];
boot.kernelPackages = pkgs.linuxPackages_rpi4;
hardware.raspberry-pi."4".fkms-3d.enable = true;
system.stateVersion = "21.05";