mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-12-10 03:49:44 +00:00
docs: update README with host descriptions and proper deployment instructions
This commit is contained in:
parent
dbecb53162
commit
aa93f3eeda
1 changed files with 12 additions and 3 deletions
15
README.md
15
README.md
|
|
@ -1,9 +1,18 @@
|
||||||
# nix-config
|
# nix-config
|
||||||
my personal NixOS and home-manager configurations
|
My personal NixOS and home-manager configurations.
|
||||||
|
|
||||||
|
## Hosts
|
||||||
|
- `nixos`: My main computer.
|
||||||
|
- `vps`: 2GB KVM VPS server on [RackNerd](https://www.racknerd.com/), installed with NixOS using [nixos-infect](https://github.com/elitak/nixos-infect).
|
||||||
|
- `wsl`: NixOS on WSL via [NixOS-WSL](https://github.com/nix-community/NixOS-WSL).
|
||||||
|
- `y2q`: Spare Galaxy S20+ phone, repurposed as a Raspbian server using [Pi Deploy](https://github.com/DesktopECHO/Pi-hole-for-Android).
|
||||||
|
|
||||||
## Deploy
|
## Deploy
|
||||||
```sh
|
```sh
|
||||||
sudo nixos-rebuild switch --flake .#nixos
|
nix develop
|
||||||
|
|
||||||
|
deploy-nixos # Rebuild and switch the current NixOS system on this host
|
||||||
|
deploy-home # Apply Home Manager configuration for the current user
|
||||||
|
deploy-vps # Rebuild and switch NixOS on the remote VPS
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue