From da85878d526575a0101fd904926b2251e23d25aa Mon Sep 17 00:00:00 2001 From: quirinecker Date: Tue, 14 Oct 2025 18:44:12 +0200 Subject: [PATCH] added details for testing/developing this module flake --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 4558bd6..511572e 100644 --- a/README.md +++ b/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 --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.