From fd2a9fe6a1788d4059e3e03120bd7e9decebabd2 Mon Sep 17 00:00:00 2001 From: Nicholas Pease Date: Sat, 3 Jun 2023 20:55:37 +0000 Subject: [PATCH] Restructure --- container-scripts/base.sh | 4 ++-- ubuntu/main.tf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/container-scripts/base.sh b/container-scripts/base.sh index 8c7861a..2d531c0 100644 --- a/container-scripts/base.sh +++ b/container-scripts/base.sh @@ -1,7 +1,7 @@ # setup vscode remote server && extensions -curl -fsSL https://gitea.nicholaspease.com/npease/CoderTemplatesV2/raw/branch/main/vscode_server.sh | sh +curl -fsSL https://gitea.nicholaspease.com/npease/CoderTemplatesV2/raw/branch/main/container-scripts/vscode_server.sh | sh code-server --install-extension WakaTime.vscode-wakatime --install-extension fabiospampinato.vscode-diff --install-extension eamodio.gitlens # FancyGit terminal setup wget https://raw.githubusercontent.com/diogocavilha/fancy-git/master/install.sh && sh ./install.sh --nofontconfig && rm ./install.sh # Misc -echo export GIT_ASKPASS= >> ~/.bashrc \ No newline at end of file +echo export GIT_ASKPASS= >> ~/.bashrc diff --git a/ubuntu/main.tf b/ubuntu/main.tf index 46a11f9..9d6f4db 100644 --- a/ubuntu/main.tf +++ b/ubuntu/main.tf @@ -54,7 +54,7 @@ resource "coder_agent" "main" { startup_script = <<-EOT set -e # Base Script - curl -fsSL https://gitea.nicholaspease.com/npease/CoderTemplatesV2/raw/branch/main/base.sh | sh + curl -fsSL https://gitea.nicholaspease.com/npease/CoderTemplatesV2/raw/branch/main/container-scripts/base.sh | sh # WakaAPI Setup echo "[settings]" >> ~/.wakatime.cfg && echo "api_url = ${var.waka_api_url}" >> ~/.wakatime.cfg && echo "api_key = ${var.waka_api_key}" >> ~/.wakatime.cfg # Clone Git Repo