Clone directly to etc and install from there
This commit is contained in:
parent
cc72544e20
commit
ad41bd1b2d
|
|
@ -26,5 +26,8 @@ then set the required crypt and root pw and start the installer script:
|
|||
|
||||
```
|
||||
nix-shell -E "import (builtins.fetchurl https://git.cluster.gay/hans/nixos-install/raw/branch/main/shell.nix)"
|
||||
export CRYPT_PW="pol...."
|
||||
#optionally set root disk if it is not /dev/nvme0n1
|
||||
export ROOT_DISK=/dev/sd.....
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ pkgs.mkShell {
|
|||
|
||||
shellHook = ''
|
||||
mkdir -p $HOME/.gnupg
|
||||
mkdir -p /mnt/etc
|
||||
echo "pinentry-program = ${pkgs.pinentry-curses}/bin/pinentry-curses" > $HOME/.gnupg/gpg-agent.conf
|
||||
echo "enable-ssh-support" >> $HOME/.gnupg/gpg-agent.conf
|
||||
|
||||
|
|
@ -40,6 +41,7 @@ pkgs.mkShell {
|
|||
|
||||
|
||||
# Clone the repository
|
||||
git clone ssh://git@git.cluster.gay:2222/hans/nix.git
|
||||
git clone ssh://git@git.cluster.gay:2222/hans/nix.git /mnt/
|
||||
bash /mnt/etc/install.bash
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue