This commit is contained in:
parent
1de27b472a
commit
84abaee8ed
2 changed files with 13 additions and 5 deletions
13
README.md
13
README.md
|
|
@ -12,11 +12,16 @@
|
|||
|
||||
### Update a container
|
||||
|
||||
Build and check for changes:
|
||||
|
||||
```shell
|
||||
ssh <container>
|
||||
cd /etc/nixos
|
||||
nix run .#apps.nixos-diff # Show what changes would be applied
|
||||
nixos-rebuild switch # Apply changes
|
||||
nix run .#remote-diff-git
|
||||
```
|
||||
|
||||
Build and apply:
|
||||
|
||||
```shell
|
||||
nix run .#remote-apply-git
|
||||
```
|
||||
|
||||
### Special things
|
||||
|
|
|
|||
Loading…
Reference in a new issue