refactor(nixos): organize host modules #137

Merged
alexion merged 2 commits from refactor/derive-zfs-host-id into main 2026-10-07 17:09:42 -04:00
Owner

Summary

  • group physical-host modules under modules/host/
  • derive ZFS host IDs from configured hostnames
  • move the CachyOS and ZFS options under modules.host

Deployment

Pikachu changes from 2346edbd to 43999461. Perform a clean reboot after deployment so ZFS imports the pool with the new ID.

Validation

  • nix run .#fix
  • bazel run //src/natu:natu -- configs/nixos/modules/host/default.nix configs/nixos/modules/host/cachyos.nix configs/nixos/modules/host/zfs.nix configs/nixos/hosts/neogaia/default.nix configs/nixos/hosts/pikachu/default.nix configs/nixos/hosts/zeus/default.nix
  • nix build .#nixosConfigurations.pikachu.config.system.build.toplevel .#nixosConfigurations.neogaia.config.system.build.toplevel .#nixosConfigurations.zeus.config.system.build.toplevel --no-link
## Summary - group physical-host modules under `modules/host/` - derive ZFS host IDs from configured hostnames - move the CachyOS and ZFS options under `modules.host` ## Deployment Pikachu changes from `2346edbd` to `43999461`. Perform a clean reboot after deployment so ZFS imports the pool with the new ID. ## Validation - `nix run .#fix` - `bazel run //src/natu:natu -- configs/nixos/modules/host/default.nix configs/nixos/modules/host/cachyos.nix configs/nixos/modules/host/zfs.nix configs/nixos/hosts/neogaia/default.nix configs/nixos/hosts/pikachu/default.nix configs/nixos/hosts/zeus/default.nix` - `nix build .#nixosConfigurations.pikachu.config.system.build.toplevel .#nixosConfigurations.neogaia.config.system.build.toplevel .#nixosConfigurations.zeus.config.system.build.toplevel --no-link`
alexion added 1 commit 2026-10-07 16:52:01 -04:00
alexion changed title from refactor(nixos): derive ZFS host IDs to refactor(nixos): organize host modules 2026-10-07 16:59:05 -04:00
alexion added 1 commit 2026-10-07 16:59:07 -04:00
alexion merged commit ec1c0fba56 into main 2026-10-07 17:09:42 -04:00
alexion deleted branch refactor/derive-zfs-host-id 2026-10-07 17:09:42 -04:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: alexion/dev#137