From e1c5c81166267d8dfbe5c73fd2314a8e1162d2b3 Mon Sep 17 00:00:00 2001 From: Joel McCracken Date: Sat, 25 Nov 2023 20:26:17 -0500 Subject: [PATCH] cleanup --- bootstrap-workstation.sh | 16 ---------------- workstation.org | 24 ------------------------ 2 files changed, 40 deletions(-) diff --git a/bootstrap-workstation.sh b/bootstrap-workstation.sh index 23ee8de3..4bf691c8 100755 --- a/bootstrap-workstation.sh +++ b/bootstrap-workstation.sh @@ -305,11 +305,6 @@ source "$NIX_DAEMON_PATH"; set -u -is_linux && { - sudo ~/workstation/bin/enable-passwordless-sudo.sh - sudo apt-get update -} - is_mac && { info installing darwin-nix ~/workstation/lib/shell/setup/install_nix_darwin.sh @@ -342,17 +337,6 @@ info linking dotfiles that should be symlinked bash ~/workstation/lib/shell/setup/link-dotfiles.sh -f -c info finished linking dotfiles - -# set +e -# echo "Running final installs (install)" -# if is_linux; then -# echo "is linux, installing ripgrep, fdfind, etc via apt"; -# time sudo apt-get install ripgrep fd-find zsh make libtool libvterm-dev; -# echo "done running final installs"; -# else -# echo "linux not detected, no final installs necessary"; -# fi - bash ~/workstation/lib/shell/setup/initial_bitwarden_sync.sh cat <<-EOF diff --git a/workstation.org b/workstation.org index a4422836..658d4915 100644 --- a/workstation.org +++ b/workstation.org @@ -345,14 +345,6 @@ set +u source "$NIX_DAEMON_PATH"; set -u -#+end_src -*** TODO this may be deletable? -#+begin_src shell :noweb yes - -is_linux && { - sudo ~/workstation/bin/enable-passwordless-sudo.sh - sudo apt-get update -} #+end_src *** install nix darwin #+begin_src shell :noweb yes @@ -405,22 +397,6 @@ info linking dotfiles that should be symlinked bash ~/workstation/lib/shell/setup/link-dotfiles.sh -f -c info finished linking dotfiles -#+end_src -*** do some final linux specific installs, things that are not handled otherwise -TODO fix these, should move to home manager. - -#+begin_src shell :noweb yes - -# set +e -# echo "Running final installs (install)" -# if is_linux; then -# echo "is linux, installing ripgrep, fdfind, etc via apt"; -# time sudo apt-get install ripgrep fd-find zsh make libtool libvterm-dev; -# echo "done running final installs"; -# else -# echo "linux not detected, no final installs necessary"; -# fi - #+end_src *** set up workstation secrets #+begin_src shell :noweb yes