mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-05-19 13:06:52 +02:00
refactor(home): consolidate host home modules under home/hosts
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# Host Home Modules
|
||||
|
||||
This directory contains host-specific Home Manager entry modules.
|
||||
|
||||
## Layout
|
||||
|
||||
- `home/hosts/linux/*.nix`: Linux host home modules
|
||||
- `home/hosts/darwin/*.nix`: macOS host home modules
|
||||
|
||||
## Conventions
|
||||
|
||||
1. Each host output should reference only one file under `home/hosts/...`.
|
||||
2. Shared home module imports should be handled in the host file itself.
|
||||
- Linux hosts usually import `../../linux/core.nix` or `../../linux/gui.nix`.
|
||||
- Darwin hosts import `../../darwin`.
|
||||
3. Host-specific overrides (SSH keys, desktop toggles, host-local config links) live in the same
|
||||
host file.
|
||||
Reference in New Issue
Block a user