refactor: split Home Manager configuration by user #118
No reviewers
Labels
No labels
area:authentication
area:flake-utilities
area:performance
area:tbd
host:chaos
host:cosmos
host:electra
host:fleet
host:lena
host:lyra
host:mass-storage
host:media1
host:nimmog-de
host:nova
host:pangolin
host:pangolin-vps
host:phone
host:router
host:vega
investigation
phase:cutover
phase:deploy
phase:mcp
phase:module
phase:packaging
phase:prep
phase:validation
priority:high
priority:medium
project:attic-postgres-lyra-rollout
project:auto-update-reliability
project:auto-update-remediation
project:declarative-purity-cleanup
project:external-review
project:fleet-boundary-cleanup
project:host-facts-refactor
project:lyra-nixos-deploy
project:lyra-service-stack-migration
project:nebula-mesh-network
project:nix-idioms-hygiene
project:nixos-build-deployment-pipeline
project:security-hardening
project:service-stack-migration
project:vega-sillytavern-cutover
project:wiki-rebuild
repo:numtide/flake-utils
repo:numtide/nix-auth
repo:numtide/nixos-passthru-cache
repo:numtide/nix-relay
service:auto-update
service:gitlab
service:hermes
service:mem0
service:nix
service:sillytavern
service:slskd
service:synthseek
service:tdarr
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