nix-config/README.md
lightly-toasted 6d0b5f7711 feat: migrate command scripts to just
- Replaced bin/ shell scripts with a Justfile
- Added deploy commands and 2 new commands (update, gc)
- Added just to devShell
2026-01-11 14:24:51 +09:00

18 lines
730 B
Markdown

# nix-config
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 Ubuntu server using [chroot-distro](https://github.com/Magisk-Modules-Alt-Repo/chroot-distro).
## Deploy
```sh
nix develop
just deploy-nixos # Rebuild and switch the current NixOS system on this host
just deploy-home # Apply Home Manager configuration for the current user
just deploy-vps # Rebuild and switch NixOS on the remote VPS
```