Fix stinky build.

This commit is contained in:
2025-10-27 16:17:26 +00:00
parent 762037d17f
commit 98769f59d6
3 changed files with 36 additions and 12 deletions

View File

@@ -7,16 +7,19 @@
{
imports = [
../../common/global
../../common/impermanence-tmpfs.nix # Use tmpfs root with /nix/persist
../../common/impermanence-common.nix # Impermanence with custom root config (see hardware.nix)
../../common/resource-limits.nix
../../common/sshd.nix
../../common/user-ppetru.nix
../../common/systemd-boot.nix
# Note: No systemd-boot.nix - Raspberry Pi uses generic-extlinux-compatible (from sd-image module)
./hardware.nix
];
networking.hostName = "stinky";
# Configure impermanence for tmpfs root (filesystem config in hardware.nix)
custom.impermanence.persistPath = "/nix/persist";
# Tailscale configuration
services.tailscaleAutoconnect.authkey = "PLACEHOLDER"; # Will be set in secrets
@@ -35,7 +38,7 @@
environment.systemPackages = with pkgs; [
libcamera
raspberrypi-tools
libraspberrypi
];
# Firewall: Allow access to OctoPrint
@@ -43,5 +46,6 @@
5000 # OctoPrint
];
system.stateVersion = "25.05";
# Override global default (stinky is a new system with 25.05)
system.stateVersion = lib.mkForce "25.05";
}