forked from Yuka/c3h-nixfiles
simplify bemmer config some more
This commit is contained in:
parent
8ac7010414
commit
3e8b76b643
2 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue