Files
dotfiles/config/hosts/aspects/servers/rpi5.nix
2026-02-10 21:40:01 +00:00

35 lines
634 B
Nix

{
den,
__findFile,
modules,
...
}:
{
den.aspects.rpi5 = {
includes = [
<modules/raspberry-pi/5>
<modules/services/traefik>
<modules/services/home-assistant>
];
nixos = {
networking.hostName = "nixos-001-rp5";
networking.firewall = {
enable = true;
allowedTCPPorts = [
80
443
8080
];
allowedUDPPortRanges = [ ];
};
virtualisation.docker.enable = true;
virtualisation.oci-containers.backend = "docker";
services.openssh.enable = true;
nixpkgs.hostPlatform = "aarch64-linux";
};
};
}