1
Fork 0
dotfiles/.bauke/NixOS.md

26 lines
585 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-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-24 12:12:15 +00:00
* [Azedia](./nix/azedia/)
2023-03-15 19:58:14 +00:00
* [Stardust](./nix/stardust/)