nix-config-legacy/hosts/muscari/default.nix
mikl aedf727849 Rename to nix-config, terminology cleanup
- Rename repo: nixos-iscg -> nix-config (forgejo)
- Update description for future darwin host (poppy)
- Update README, flake.nix description
- Fix references in hosts/muscari comments
2026-06-25 15:28:40 +03:00

26 lines
No EOL
763 B
Nix

# muscari — k3s single-node cluster на YC (Debian 12 → Nix через nixos-anywhere)
# https://git.iscg.dev/mikl/nix-config
{ config, pkgs, lib, ... }:
{
imports = [
./hardware-configuration.nix
../../modules/users/mikl.nix
../../modules/services/k3s.nix
];
networking = {
hostName = "muscari";
useDHCP = true;
firewall.allowedTCPPorts = [
22 # SSH
80 # HTTP (Ingress через Traefik)
443 # HTTPS (Ingress через Traefik)
# 6443 не открываем — kubectl через SSH-туннель
];
};
# После nixos-anywhere первая установка может быть 26.05,
# потом не трогаем (NixOS convention)
system.stateVersion = "25.11";
}