updated commands

This commit is contained in:
John Lancaster
2024-12-13 20:39:05 -06:00
parent 09c7c22b3a
commit 5875b82f0f

View File

@@ -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
```