From 5875b82f0f12bca5c78ae97b65cf7d0a51b376f6 Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Fri, 13 Dec 2024 20:39:05 -0600 Subject: [PATCH] updated commands --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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