{ config, pkgs, lib, ... }: # Real-host config: hardware + disk layout + bootloader + shared services. { imports = [ ./hardware-configuration.nix ./disk-config.nix # disko: OS-disk partitions + filesystems ./secrets.nix # sops-nix: samba password etc. ./services.nix ]; # ---- Boot ---- # systemd-boot for UEFI. If ZimaBlade boots legacy/BIOS, switch to grub. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; # ---- NAS data disk ---- # Existing data filesystem — mounted, NOT formatted (kept out of disko). # Set the id from `ls -l /dev/disk/by-id` (or by-uuid). Adjust fsType. # fileSystems."/mnt/data" = { # device = "/dev/disk/by-id/CHANGE-ME-data-disk"; # fsType = "ext4"; # }; }