Add nixos-hardware flake for stinky.

This commit is contained in:
2025-10-28 10:59:16 +00:00
parent 98769f59d6
commit 1bb202d017
3 changed files with 32 additions and 1 deletions

View File

@@ -15,6 +15,14 @@
./hardware.nix
];
hardware = {
raspberry-pi."4".apply-overlays-dtmerge.enable = true;
deviceTree = {
enable = true;
filter = "*rpi-4-*.dtb";
};
};
networking.hostName = "stinky";
# Configure impermanence for tmpfs root (filesystem config in hardware.nix)
@@ -39,6 +47,7 @@
environment.systemPackages = with pkgs; [
libcamera
libraspberrypi
raspberrypi-eeprom
];
# Firewall: Allow access to OctoPrint