feat: installer MAY use local flake
Some checks failed
/ check (push) Has been cancelled

This commit is contained in:
Daniel Flanagan 2025-02-20 12:57:07 -06:00
parent 8410f63cc9
commit 863f70a919

View file

@ -10,10 +10,14 @@ pkgs.writeShellApplication {
gawk
];
text = ''
dir="$(mktemp -d)"
cd "$dir"
git clone https://git.lyte.dev/lytedev/nix
cd nix
repo='https://git.lyte.dev/lytedev/nix'
if [[ -f flake.nix ]]; then
dir="$(mktemp -d)"
echo "No flake detected. Cloning '$repo' to '$dir/nix'
cd "$dir"
git clone "$repo"
cd nix
fi
read -s -r -p 'Disk Encryption Password:' pass1
echo