setup nixos-hardware/raspberry-pi-4 on rico1
This commit is contained in:
parent
31a9d20ae8
commit
9ca43689f0
3 changed files with 2 additions and 14 deletions
|
@ -8,9 +8,6 @@
|
|||
./security.nix
|
||||
];
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
i18n = {
|
||||
defaultLocale = "en_US.UTF-8";
|
||||
extraLocaleSettings = {
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
{ ... }: {
|
||||
imports = [ ./filesystem.nix ./kernel.nix ];
|
||||
|
||||
hardware.raspberry-pi."4".poe-plus-hat.enable = true;
|
||||
}
|
||||
|
|
|
@ -1,16 +1,5 @@
|
|||
{ lib
|
||||
, pkgs
|
||||
, ...
|
||||
}: {
|
||||
boot = {
|
||||
initrd = {
|
||||
availableKernelModules = [
|
||||
"usbhid"
|
||||
"usb_storage"
|
||||
];
|
||||
systemd.enable = true;
|
||||
};
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
};
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue