update rico config

This commit is contained in:
Adithya 2024-06-25 22:38:34 +05:30
parent 299c2ca1dc
commit 0c8aa6ff1a
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C
3 changed files with 9 additions and 0 deletions

View file

@ -2,8 +2,14 @@ _: {
imports = [ ./filesystem.nix ./kernel.nix ];
hardware = {
deviceTree = {
enable = true;
filter = "*rpi-4-*.dtb";
};
raspberry-pi."4" = {
apply-overlays-dtmerge.enable = true;
poe-plus-hat.enable = true;
xhci.enable = true;
};
};
}

View file

@ -1,5 +1,6 @@
{ lib
, ...
}: {
boot.supportedFilesystems = lib.mkForce [ "vfat" "btrfs" "ext4" "tmpfs" ];
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
}

View file

@ -10,6 +10,8 @@
environment.systemPackages = with pkgs; [
sops
age
libraspberrypi
raspberrypi-eeprom
];
}