1
Fork 0

Fix consistency.

This commit is contained in:
Bauke 2023-03-28 14:35:16 +02:00
parent b273f13da0
commit eafab46d2d
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 3 additions and 3 deletions

View File

@ -2,15 +2,15 @@
## Management
Using the `copy-nixos-config` script, all the configurations are stored in `$BAUKE_DIR/nix/` and copied to `/etc/nixos` for each respective [system](#systems).
Using the `copy-nixos-config` script, all the configurations are stored in `$BAUKE_DIR/nix/<system>` and copied to `/etc/nixos` for each respective [system](#systems).
* Get a diff between the current files in `/etc/nixos` and `$BAUKE_DIR/nix/<system>`.
* Get a diff between the current files in `/etc/nixos` and `$BAUKE_DIR/nix/<system>`:
```zsh
copy-nixos-config --diff
```
* Copy the configuration and immediately run `nixos-rebuild <command>`.
* Copy the configuration and immediately run `nixos-rebuild <command>`:
```zsh
copy-nixos-config --rebuild <command>