diff --git a/Makefile.toml b/Makefile.toml index 27b993cf..1c7cdf05 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -69,3 +69,8 @@ args = [ 'dist', './...', ] + +[tasks.apply] +script = [ + "home-manager switch -f ./home/.config/home-manager/home.nix", +] diff --git a/README.md b/README.md index 5f4e4f8f..02b60c4e 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Also known as [盆栽(bonsai)](https://en.wikipedia.org/wiki/Bonsai) 🌳 1. Install [nix-community/home-manager](https://github.com/nix-community/home-manager) 1. Set `XDG_*` into current env. `. ./home/.bashrc` 1. Make sure `$XDG_CONFIG_HOME/home-manager/home.nix` does not exists. If not, check the content and remove -1. `home-manager switch -f ./home/.config/home-manager/home.nix` +1. `makers apply` 1. Run `go run ./cmd/mksym --linker path-from --linked path-to` if needed 1. (optional) Install [jdxcode/rtx](https://github.com/jdxcode/rtx) to manage subdivided versions