diff --git a/README.md b/README.md index f813e17..915cfa2 100644 --- a/README.md +++ b/README.md @@ -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 +``` \ No newline at end of file