1
Fork 0
dotfiles/.bauke/NixOS.md

25 lines
551 B
Markdown
Raw Normal View History

2023-03-15 19:58:14 +00:00
# NixOS Configurations
2023-03-24 18:35:47 +00:00
## Management
2023-03-25 11:29:51 +00:00
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).
2023-03-24 18:35:47 +00:00
* 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>`.
```zsh
copy-nixos-config --rebuild <command>
# For example, to switch:
copy-nixos-config --rebuild switch
```
2023-03-15 19:58:14 +00:00
## Systems
* [Stardust](./nix/stardust/)