update rico config
This commit is contained in:
parent
299c2ca1dc
commit
0c8aa6ff1a
3 changed files with 9 additions and 0 deletions
|
@ -2,8 +2,14 @@ _: {
|
||||||
imports = [ ./filesystem.nix ./kernel.nix ];
|
imports = [ ./filesystem.nix ./kernel.nix ];
|
||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
|
deviceTree = {
|
||||||
|
enable = true;
|
||||||
|
filter = "*rpi-4-*.dtb";
|
||||||
|
};
|
||||||
raspberry-pi."4" = {
|
raspberry-pi."4" = {
|
||||||
|
apply-overlays-dtmerge.enable = true;
|
||||||
poe-plus-hat.enable = true;
|
poe-plus-hat.enable = true;
|
||||||
|
xhci.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, ...
|
, ...
|
||||||
}: {
|
}: {
|
||||||
|
boot.supportedFilesystems = lib.mkForce [ "vfat" "btrfs" "ext4" "tmpfs" ];
|
||||||
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,6 +10,8 @@
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
sops
|
sops
|
||||||
age
|
age
|
||||||
|
libraspberrypi
|
||||||
|
raspberrypi-eeprom
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue