updated commands
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
# LXC Bootstrap
|
||||
|
||||
## Non-flake
|
||||
|
||||
```shell
|
||||
sudo nix-channel --update && \
|
||||
nix-shell -p git --run "git clone https://gitea.john-stream.com/john/lxc-bootstrap /etc/nixos"
|
||||
nix-shell -p git --run "git clone https://gitea.john-stream.com/john/lxc-bootstrap /etc/nixos && \
|
||||
sudo nixos-rebuild switch --flake /etc/nixos#lxc"
|
||||
```
|
||||
|
||||
## Flakes
|
||||
|
||||
```shell
|
||||
sudo nixos-rebuild switch --flake /etc/nixos#lxc
|
||||
sudo nixos-rebuild switch --flake git+https://gitea.john-stream.com/john/lxc-bootstrap#lxc --no-write-lock-file
|
||||
```
|
||||
Reference in New Issue
Block a user