# 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 && \ sudo nixos-rebuild switch --flake /etc/nixos#lxc" ``` ## Flakes ```shell sudo nix-channel --update && \ nix-shell -p git --run "sudo nixos-rebuild switch --flake git+https://gitea.john-stream.com/john/lxc-bootstrap#lxc --no-write-lock-file" ```