This commit is contained in:
parent
8410f63cc9
commit
863f70a919
1 changed files with 8 additions and 4 deletions
|
@ -10,10 +10,14 @@ pkgs.writeShellApplication {
|
||||||
gawk
|
gawk
|
||||||
];
|
];
|
||||||
text = ''
|
text = ''
|
||||||
|
repo='https://git.lyte.dev/lytedev/nix'
|
||||||
|
if [[ -f flake.nix ]]; then
|
||||||
dir="$(mktemp -d)"
|
dir="$(mktemp -d)"
|
||||||
|
echo "No flake detected. Cloning '$repo' to '$dir/nix'
|
||||||
cd "$dir"
|
cd "$dir"
|
||||||
git clone https://git.lyte.dev/lytedev/nix
|
git clone "$repo"
|
||||||
cd nix
|
cd nix
|
||||||
|
fi
|
||||||
|
|
||||||
read -s -r -p 'Disk Encryption Password:' pass1
|
read -s -r -p 'Disk Encryption Password:' pass1
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Add table
Reference in a new issue