Add nixos-hardware flake for stinky.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user