2023-03-15 19:58:14 +00:00
# NixOS Configurations
2023-03-24 18:35:47 +00:00
## Management
2023-03-28 12:35:16 +00:00
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 ).
2023-03-24 18:35:47 +00:00
2023-03-28 12:35:16 +00:00
* Get a diff between the current files in `/etc/nixos` and `$BAUKE_DIR/nix/<system>` :
2023-03-24 18:35:47 +00:00
```zsh
copy-nixos-config --diff
```
2023-03-28 12:35:16 +00:00
* Copy the configuration and immediately run `nixos-rebuild <command>` :
2023-03-24 18:35:47 +00:00
```zsh
copy-nixos-config --rebuild < command >
# For example, to switch:
copy-nixos-config --rebuild switch
```
2023-03-15 19:58:14 +00:00
## Systems
2023-08-25 12:34:42 +00:00
* [**Azedia** ](./nix/azedia/ ), Raspberry Pi 4.
* [**Stardust** ](./nix/stardust/ ), main desktop.