🔧 aristotle: move to raspberry-pi-nix

also re-deployed form, matter and purpose
This commit is contained in:
2024-09-15 20:35:46 -04:00
parent 8b57a7580a
commit 6d38e964e3
11 changed files with 290 additions and 95 deletions

View File

@ -1,18 +1,26 @@
{ pkgs, nixos-hardware, ... }:
{ pkgs, raspberry-pi-nix, ... }:
{
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
nixos-hardware.nixosModules.raspberry-pi-4
../../modules/base/nixos.nix
raspberry-pi-nix.nixosModules.raspberry-pi
../../modules/ipfs/cluster.nix
../../modules/sops
];
hardware = {
raspberry-pi."4".poe-hat.enable = true;
raspberry-pi-nix.board = "bcm2711";
hardware.raspberry-pi.config = {
all = {
dt-overlays = {
rpi-poe = {
enable = true;
params = { };
};
};
};
};
time.timeZone = "America/Toronto";
@ -34,4 +42,5 @@
];
environment.systemPackages = with pkgs; [ libraspberrypi raspberrypi-eeprom ];
security.sudo.wheelNeedsPassword = false;
}