setup nixos-hardware/raspberry-pi-4 on rico1

This commit is contained in:
Adithya 2023-11-11 19:48:38 +05:30
parent 31a9d20ae8
commit 9ca43689f0
Signed by: adtya
GPG key ID: 48FC9915FFD326D0
3 changed files with 2 additions and 14 deletions

View file

@ -8,9 +8,6 @@
./security.nix
];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
i18n = {
defaultLocale = "en_US.UTF-8";
extraLocaleSettings = {

View file

@ -1,3 +1,5 @@
{ ... }: {
imports = [ ./filesystem.nix ./kernel.nix ];
hardware.raspberry-pi."4".poe-plus-hat.enable = true;
}

View file

@ -1,16 +1,5 @@
{ lib
, pkgs
, ...
}: {
boot = {
initrd = {
availableKernelModules = [
"usbhid"
"usb_storage"
];
systemd.enable = true;
};
kernelPackages = pkgs.linuxPackages_latest;
};
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
}