mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-23 09:18:35 +02:00
refactor(home): consolidate host home modules under home/hosts
This commit is contained in:
@@ -80,7 +80,7 @@ configurations follow similar patterns but are customized for specific hardware
|
||||
2. Create & add the new host's `hardware-configuration.nix` to the new folder, and add the new
|
||||
host's `configuration.nix` to `hosts/<name>/default.nix`.
|
||||
3. If the new host need to use home-manager, add its custom config into
|
||||
`home/linux/hosts/<name>.nix` or `home/darwin/hosts/<name>.nix`.
|
||||
`home/hosts/linux/<name>.nix` or `home/hosts/darwin/<name>.nix`.
|
||||
1. Under `outputs/`
|
||||
1. Add a new nix file named `outputs/<system-architecture>/src/<name>.nix`.
|
||||
2. Copy the content from one of the existing similar host, and modify it to fit the new host.
|
||||
|
||||
Reference in New Issue
Block a user