diff options
-rwxr-xr-x | config.sh | 9 | ||||
-rw-r--r-- | home/.ssh/id_rsa | 39 | ||||
-rw-r--r-- | home/.ssh/id_rsa.pub | 1 | ||||
-rwxr-xr-x | install.sh | 2 |
4 files changed, 46 insertions, 5 deletions
@@ -3,12 +3,13 @@ for file in $(find src -type f); do export clean=$(echo $file | cut -c 4-) #Removes src prefix - install -d $(dirname $clean) - install -m 644 $file $clean + mkdir -pv $(dirname $clean) + cp $file $clean done for file in $(find home -type f); do export clean=/home/${USE}$(echo $file | cut -c 5-) - install -o $USE -d $(dirname $clean) - install -o $USE $file $clean + mkdir -pv $(dirname $clean) + cp $file $clean done +chown -R ${USE}:${USE} /home/${USE} diff --git a/home/.ssh/id_rsa b/home/.ssh/id_rsa new file mode 100644 index 0000000..5aaaad2 --- /dev/null +++ b/home/.ssh/id_rsa @@ -0,0 +1,39 @@ +-----BEGIN OPENSSH PRIVATE KEY----- +b3BlbnNzaC1rZXktdjEAAAAACmFlczI1Ni1jdHIAAAAGYmNyeXB0AAAAGAAAABCiB+b0FA +cMskmFSgnjzKTFAAAAEAAAAAEAAAGXAAAAB3NzaC1yc2EAAAADAQABAAABgQDdh1xcjq3C +4TCB7F106boY5WJ8gEYsm3cj3hmRgxMYxy0N1DDTykuVW9rHguGruEOSEK7BqhU03g692K +Q+r7VbzFdYFYDZpRetIH8q4dsw5XDKPYAAirJz8VW5ZuWgnhWdPxjEimopmafMbvmNNS/H +TkFwFDdid9oUCdsp+aXx4NpF7GKVx7/dnN1qkYNDCpGdYrKk5YDUPIIyOK7+Q48hsFFTNk +uKjBxiV8JyZN0iSXXAJs+M4cP39tSGvApFqvSu51KOjHus1yEE0XYJqcGWLDTTNwlYEbz7 +Z6sE08nIS+aSjieyOVI0zROTVV4496JKtXb/b3JSHe0tyJNxjMYRkSru/vE/LoQxWimKGi +huZEERqjgs8hNUH7ppsFJQQpAZ/Yn+3be9h0bAhMPi2f4QEhPQV7ndqoGIiLIgPf2OHQB7 +uuj5jWxU3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jqkmLWPfq1WjM8uwRLw+SkPSWt68Ysim6utVsW9Tx67/G7pBFg +v0jfATszsEtpnCzmWboqiCdq6APk1ttKkAxZX7Qk0jDAiE8Cakj0JWdQOOSDA5Idvvxf1p +4PPsc0jy/a7654QfQ6st0Py+kHzYj+HthnWWUWHh1DEz3R9+9/dciOEfeAvbZuMP63/vPB +3lIv6FvzzXPL+XWU4jVXk1vuxSniMtd8fEC61YPmozruCwGAu7AJbfwANKc2RIr7oNaVi2 +f65f2/ziYVRccub50CwUY42WCOxfe2/sWOQ+fnl7of5wGhnN/ErScvXwm0BwKYHJUW6mP4 +7Wg99y8xmLd4y5vcZvx/OI+CzcQQXg88Lhc0Eew1VYUcvQHXq4liiTz8VDFyPuBJBe3rme +BPUmjzz6vl6SF13JUdTH51PQp5LLqB4eTLLc5dUDmSGELwN3dngxfL9YgYQajXGrkBqq5t +QTdQVheP7Syz0Er8Sd5UxDIpbgSm3Za8PQUaUtdTLL9vCuY4HR/fDbDbiJdOShZFK1fZvM +V/gViAk4MsdECCz4VoGwriaSYVrt4ABwVj0GQtBguDKW4jKcuJVlvef/5GacFUYpd/11b+ +vpoZz2huSVV7KFwpBdUzITFlibuxSLkf/zjOoPrR74tPlzafzy8VXIdSzPrAomBzfd8ULi +e2peMffh7ekWtnB6vx0YBqmukjESmFIIVdZfOAKOJYmEVJSg3UqZk2vveWxqIi1vb3J+zG +hdMa5KZ8eA59sTHuNVpNLCaR52d75CreFaNbAMYMOPEuxgRSa/rJBFjxvrr0j7zP20upel +OSfpAY+0hRNv1pIhCRFHrTThJ4DzTeuHc4sHj4xYkW/liair/623FpaLl1kJYnRlH4MT4G +/ZM2IeX2dckq08wdPKE2Hp/UXUc= +-----END OPENSSH PRIVATE KEY----- diff --git a/home/.ssh/id_rsa.pub b/home/.ssh/id_rsa.pub new file mode 100644 index 0000000..ef12e12 --- /dev/null +++ b/home/.ssh/id_rsa.pub @@ -0,0 +1 @@ +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDdh1xcjq3C4TCB7F106boY5WJ8gEYsm3cj3hmRgxMYxy0N1DDTykuVW9rHguGruEOSEK7BqhU03g692KQ+r7VbzFdYFYDZpRetIH8q4dsw5XDKPYAAirJz8VW5ZuWgnhWdPxjEimopmafMbvmNNS/HTkFwFDdid9oUCdsp+aXx4NpF7GKVx7/dnN1qkYNDCpGdYrKk5YDUPIIyOK7+Q48hsFFTNkuKjBxiV8JyZN0iSXXAJs+M4cP39tSGvApFqvSu51KOjHus1yEE0XYJqcGWLDTTNwlYEbz7Z6sE08nIS+aSjieyOVI0zROTVV4496JKtXb/b3JSHe0tyJNxjMYRkSru/vE/LoQxWimKGihuZEERqjgs8hNUH7ppsFJQQpAZ/Yn+3be9h0bAhMPi2f4QEhPQV7ndqoGIiLIgPf2OHQB7uuj5jWxU3skYjYDw61Spd3VnpvHbrG06FL2Z2qOHufmsWMry7Dbj760EK86it2oDt/1Odaw8M0aB6tAgHbc= czar@bruh-moment @@ -49,7 +49,7 @@ else mount /dev/Crypt/root /mnt mount ${PART}1 /mnt/boot fi -sudo install -d /mnt/root/dotfiles +mkdir -pv /mnt/root/dotfiles cp -r . /mnt/root/dotfiles arch-chroot /mnt << EOF sh /root/dotfiles/build.sh |