config-manager: Move installation of nh to module
And add `system` option that is required to pick the correct package from `nh`
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
# `config-manager`
|
||||
`./config-manager` is a module that contains a script to make usage of this flake easier.
|
||||
|
||||
To install it first add the module to the nixOS system connfiguration and then
|
||||
run `nixos-rebuild switch --flake .#<configuration>`, after that `cm` will be available on `$PATH`.
|
||||
To install it
|
||||
1. first add the module to the nixOS system connfiguration
|
||||
2. set `config-manager.flakePath = <path to this flake>`
|
||||
3. set `config-manager.system = <system type for the machine>`
|
||||
4. run `nixos-rebuild switch --flake .#<configuration>`
|
||||
after that `cm` will be available on `$PATH`.
|
||||
|
||||
# Secrets
|
||||
Secrets are managed by `agenix` (https://github.com/ryantm/agenix).
|
||||
|
||||
Reference in New Issue
Block a user