nix-cli/README.md

26 lines
416 B
Markdown
Raw Normal View History

2024-11-12 21:34:18 +00:00
# Nix
Nix setup for server
## Install
```bash
2024-12-18 18:11:42 +00:00
# First time install
2024-11-12 21:34:18 +00:00
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --determinate
2024-12-18 18:11:42 +00:00
# Install / Update
2024-11-12 21:38:34 +00:00
nix run home-manager -- switch --flake github:cupcakearmy/nix-cli#root -b bkp
2024-11-12 21:34:18 +00:00
```
2024-12-18 18:11:42 +00:00
## Update
This can be run on any machine. Just update and then just rerun on the targets
```bash
nix flake update
```
```
```