refactor: modularize flake into option-gated feature modules #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refactor/modularize-flake"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Split the monolithic host/home config into reusable
my.*featuremodules so the same modules serve the desktop laptop and a headless
server (and future non-NixOS coder/WSL targets).
Manager into NixOS and derives each home's roles from the system
config, so a single rebuild applies system + home.
modules gated by my.* (base on by default); minikube-local and
nm-ovpn moved under modules/nixos.
claude-code}: home feature modules; entry point home/felix.nix.
moved to home/assets.
packages to felix's home; aarch64 emulation moved to base; nm-ovpn
left disabled.
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com
Split the monolithic host/home config into reusable `my.*` feature modules so the same modules serve the desktop laptop and a headless server (and future non-NixOS coder/WSL targets). - lib/default.nix: mkSystem/mkHome helpers. mkSystem integrates Home Manager into NixOS and derives each home's roles from the system config, so a single rebuild applies system + home. - modules/nixos/{base,dev,laptop,desktop,server}: system feature modules gated by my.* (base on by default); minikube-local and nm-ovpn moved under modules/nixos. - home/modules/{base,dev,desktop,gnome,hyprland,zsh,neovim,tmux, claude-code}: home feature modules; entry point home/felix.nix. - hosts/{framework,server}: thin hosts that flip my.* roles; assets moved to home/assets. - Behavioral: dev CLIs (kubectl, terraform, …) moved from system packages to felix's home; aarch64 emulation moved to base; nm-ovpn left disabled. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>