Files
homelab/jupiter/configuration.nix
T
erikandClaude Opus 4.8 9fb32fd454 feat: disko OS-disk layout + nixos-anywhere install flow
- add disko input; jupiter partitions/formats OS disk declaratively
- hardware-configuration.nix carries kernel modules only (disko owns fileSystems)
- data disk stays a plain unformatted mount, out of disko
- vbox unchanged (virtualbox-image supplies its own disk)
- README: nixos-anywhere remote install + daily rebuild loop

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-12 17:44:05 +02:00

24 lines
731 B
Nix

{ config, pkgs, lib, ... }:
# Real-host config: hardware + disk layout + bootloader + shared services.
{
imports = [
./hardware-configuration.nix
./disk-config.nix # disko: OS-disk partitions + filesystems
./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";
# };
}