refactor: split Home Manager configuration by user #118
No reviewers
Labels
No labels
host:electra
host:fleet
host:lyra
host:vega
host:vega
phase:cutover
phase:deploy
phase:mcp
phase:module
phase:packaging
phase:prep
phase:validation
project:attic-postgres-lyra-rollout
project:auto-update-reliability
project:declarative-purity-cleanup
project:external-review
project:host-facts-refactor
project:lyra-nixos-deploy
project:lyra-service-stack-migration
project:nebula-mesh-network
project:security-hardening
project:service-stack-migration
project:vega-sillytavern-cutover
service:auto-update
service:mem0
service:sillytavern
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
nimmo/nixos-config!118
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/home-manager-users"
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?
Closes #111
Split the monolithic Home Manager configuration into a per-user layout under home/users/, with focused Nimmo modules for Git, shell, browser, desktop, downloads, and Plasma. Reserve home/common/ for genuinely shared modules, retain a compatibility entry point, and update documentation and Plasma capture wiring.
Validation:
Automated code review
Reviewed commit:
ad0171ba73bf3c080a4ce70fd3ef0b7be57df595Verdict: Ready to merge
No blocking or important findings were retained, and deterministic checks passed. Suggestions remain advisory.
Overall assessment
Refactors the monolithic Home Manager configuration into a focused per-user layout under home/users/. Import paths in flake.nix, justfiles/hosts.just, and documentation are consistently updated. Relative asset paths are correctly adjusted for the new directory depth. All original functionality, including server/desktop conditionals, systemd timers, and shell helpers, is preserved.
Blocking findings
None.
Important findings
None.
Suggestions
flakeRepo ? "/home/nimmo/nixos-config",
Impact: The nj() and nixos-rebuild-auto() functions will fail if the configuration repository is cloned to a directory other than the hardcoded default.
Suggested fix: Replace the hardcoded default with a dynamic resolution like $(git rev-parse --show-toplevel) or pass the path as an explicit flake argument during evaluation.
Tests and validation
Questions
Review limitations
Diff coverage
README.md: reviewed — included in a context-limited batchflake.nix: reviewed — included in a context-limited batchhome/common/README.md: reviewed — included in a context-limited batchhome/nimmo.nix: reviewed — included in a context-limited batchhome/users/nimmo/browser.nix: reviewed — included in a context-limited batchhome/users/nimmo/default.nix: reviewed — included in a context-limited batchhome/users/nimmo/desktop.nix: reviewed — included in a context-limited batchhome/users/nimmo/download-organizer.nix: reviewed — included in a context-limited batchhome/users/nimmo/git.nix: reviewed — included in a context-limited batchhome/users/nimmo/plasma.nix: reviewed — included in a context-limited batchhome/users/nimmo/shell.nix: reviewed — included in a context-limited batchjustfiles/hosts.just: reviewed — included in a context-limited batchReview metadata