diff --git a/provision/readme.md b/provision/readme.md index 53eaa5ad..1e1f3f6e 100644 --- a/provision/readme.md +++ b/provision/readme.md @@ -14,16 +14,17 @@ nix-shell -p vim git neovim git clone https://github.com/starr-dusT/dotfiles ~/.local/share/chezmoi ``` -3. Copy existing configuration files from another host and modify as needed. Make sure to move the installer created configuration-hardware.nix to dotfiles (e.g. `provision/hosts//hardware.nix`). +3. Copy existing configuration files from another host and modify as needed. For most confits move the installer created configuration-hardware.nix to dotfiles (e.g. `provision/hosts//hardware.nix`); however, role-based installs like `htpc` and `wsl` either do not require a `hardware.nix` file or reference the system `hardware-configuration.nix` file in `/etc`. 4. If required move agenix keypairs to `~/.ssh/keys/{age,age.pub}`. A new keypair may be required and agenix files will need to be rekeyed on another system. 5. Rebuild the system and initialize chezmoi dotfiles to save America: ```bash -sudo nixos-rebuild switch --flake .# +sudo nixos-rebuild switch --impure --flake .# chezmoi init && chezmoi apply ``` +Note: if the `chezmoi.apply` option is enabled in `configuration.nix` the dotfiles should deploy automatically. The chezmoi commands then are not necessary. 6. Profit!