added details for testing/developing this module flake
This commit is contained in:
17
README.md
17
README.md
@@ -26,3 +26,20 @@ imports = [
|
||||
## Modules
|
||||
|
||||
There will be a link to the documentation for each module. This repository is still work in progress
|
||||
|
||||
## Development
|
||||
|
||||
I am using [nh](https://github.com/nix-community/nh) for my nixos configuration and this is alos how I develop/test the modules. Below is the command.
|
||||
This works for me, because I have configured nh to know where my primary flake is located.
|
||||
|
||||
```bash
|
||||
nh home switch -- --override-input dotfiles-modules path:$(pwd)
|
||||
```
|
||||
|
||||
If you forked this repository and want to make some changes something along the lines of the second command could suit your needs.
|
||||
|
||||
```
|
||||
home-manager switch --flake <path-to-your-local-flake> --override-input dotfiles-modules path:$(pwd)
|
||||
```
|
||||
|
||||
**Note:** In the future I might add nixos modules too, in which case I will update the commands becuase the `home-manager` / `nh` command will only update the home config.
|
||||
|
||||
Reference in New Issue
Block a user