mirror of
https://codeberg.org/privacy1st/nix-git
synced 2025-01-22 06:35:44 +01:00
docs
This commit is contained in:
parent
bc3acdf69a
commit
1d376dcd79
@ -182,6 +182,7 @@ Local node (e.g. yodaTux):
|
|||||||
```shell
|
```shell
|
||||||
niv update
|
niv update
|
||||||
sudo nix-channel --update && colmena build --on $(hostname) -v --show-trace && colmena apply-local --sudo boot
|
sudo nix-channel --update && colmena build --on $(hostname) -v --show-trace && colmena apply-local --sudo boot
|
||||||
|
#sudo reboot
|
||||||
```
|
```
|
||||||
|
|
||||||
Single remote node (e.g. deploy to yodaTab):
|
Single remote node (e.g. deploy to yodaTab):
|
||||||
@ -189,6 +190,7 @@ Single remote node (e.g. deploy to yodaTab):
|
|||||||
```shell
|
```shell
|
||||||
niv update
|
niv update
|
||||||
i='remoteTab'; colmena build --on $i -v --show-trace && colmena apply --on $i boot && colmena exec --on $i "nix-channel --update"
|
i='remoteTab'; colmena build --on $i -v --show-trace && colmena apply --on $i boot && colmena exec --on $i "nix-channel --update"
|
||||||
|
#colmena exec --on $i "reboot"
|
||||||
```
|
```
|
||||||
|
|
||||||
Multiple remote nodes (e.g. deploy to all nodes with tag @server):
|
Multiple remote nodes (e.g. deploy to all nodes with tag @server):
|
||||||
@ -196,6 +198,7 @@ Multiple remote nodes (e.g. deploy to all nodes with tag @server):
|
|||||||
```shell
|
```shell
|
||||||
niv update
|
niv update
|
||||||
i='@server'; colmena build --on $i -v --show-trace && colmena apply --on $i boot && colmena exec --on $i "nix-channel --update"
|
i='@server'; colmena build --on $i -v --show-trace && colmena apply --on $i boot && colmena exec --on $i "nix-channel --update"
|
||||||
|
#colmena exec --on $i "reboot"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Update
|
### Update
|
||||||
|
Loading…
x
Reference in New Issue
Block a user