mirror of
https://github.com/nix-community/nixos-anywhere.git
synced 2024-09-11 08:35:24 +03:00
Merge #129
129: Create ~/.ssh folder and add .direnv to gitignore r=Mic92 a=Melkor333 Co-authored-by: Samuel Hierholzer (Adfinis AG) <samuel.hierholzer@adfinis.com>
This commit is contained in:
commit
c532c9314e
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
result
|
||||
/.direnv
|
||||
|
@ -179,6 +179,8 @@ fi
|
||||
ssh_key_dir=$(mktemp -d)
|
||||
trap 'rm -rf "$ssh_key_dir"' EXIT
|
||||
mkdir -p "$ssh_key_dir"
|
||||
# ssh-copy-id requires this directory
|
||||
mkdir -p "$HOME/.ssh/"
|
||||
ssh-keygen -t ed25519 -f "$ssh_key_dir"/nixos-anywhere -P "" -C "nixos-anywhere" >/dev/null
|
||||
|
||||
# parse flake nixos-install style syntax, get the system attr
|
||||
|
Loading…
Reference in New Issue
Block a user