mirror of
https://github.com/cupcakearmy/nix-cli.git
synced 2025-09-05 18:20:49 +00:00
update readme
This commit is contained in:
15
README.md
15
README.md
@@ -5,6 +5,21 @@ Nix setup for server
|
|||||||
## Install
|
## Install
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
# First time install
|
||||||
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --determinate
|
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --determinate
|
||||||
|
|
||||||
|
# Install / Update
|
||||||
nix run home-manager -- switch --flake github:cupcakearmy/nix-cli#root -b bkp
|
nix run home-manager -- switch --flake github:cupcakearmy/nix-cli#root -b bkp
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Update
|
||||||
|
|
||||||
|
This can be run on any machine. Just update and then just rerun on the targets
|
||||||
|
|
||||||
|
```bash
|
||||||
|
nix flake update
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
Reference in New Issue
Block a user