Skip to content

Latest commit

 

History

History
87 lines (64 loc) · 3.27 KB

README.md

File metadata and controls

87 lines (64 loc) · 3.27 KB

dotfiles

Currently I'm using tmux, bash, and neovim for tooling workflows. Other items may not be very well maintained

NOTE: Don't forget to copy the alacritty.toml file to windows to %APPDATA%\alacritty\alacritty.toml

Bootstrap on Windows

  1. Open a User Powershell terminal

  2. Install Packages

    winget install -h --accept-package-agreements -e Alacritty.Alacritty 7zip.7zip Amazon.AWSCLI Audacity.Audacity CodecGuide.K-LiteCodecPack.Standard Chocolatey.Chocolatey Mozilla.Firefox  AgileBits.1Password AgileBits.1Password.CLI Git.Git Greenshot.Greenshot Task.Task OliverSchwendener.ueli Amazon.NoSQLWorkbench suse.RancherDesktop SlackTechnologies.Slack VideoLAN.VLC Microsoft.VisualStudioCode Microsoft.VisualStudioCode.CLI Yubico.Piv-Tool Yubico.YubikeyManager Yubico.YubiKeyManagerCLI Yubico.YubiKeyPersonalizationTool Microsoft.PowerShell Microsoft.WindowsTerminal  Atlassian.Sourcetree Joplin.Joplin Zoom.Zoom OpenJS.NodeJS
    winget install -h --accept-package-agreements sysinternals
  3. Close the User Powershell terminal and open an Admin Powershell terminal

  4. Install the chocolatey based packages(mostly nerd fonts)

    choco upgrade -y nerd-fonts-FiraMono chocolatey chocolatey-compatibility.extension chocolatey-core.extension chocolatey-dotnetfx.extension chocolatey-windowsupdate.extension  openhardwaremonitor
  5. Close the Admin Powershell and open a fresh user terminal.

  6. In a new User Powershell download the Alacritty Toml

    $dst="$env:APPDATA\alacritty\alacritty.toml";
    $dir=(Split-Path -Parent $dst);
    New-Item -Path "$dir" -Type Directory;
    (New-Object System.Net.WebClient).DownloadString("https://raw.githubusercontent.com/blade2005/dotfiles/main/.config/alacritty.toml") | Out-File -NoNewline -Encoding utf8 -FilePath "$dst";
    (New-Object System.Net.WebClient).DownloadString("https://raw.githubusercontent.com/blade2005/dotfiles/main/.config/alacritty.win.toml") | Out-File -NoNewline -Encoding utf8 -Append -FilePath "$dst";
  7. Configure Rancher

    rdctl list-settings
    rdctl

WSL

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

powercfg.exe /hibernate off

wsl.exe --set-default-version 2
wsl.exe --install -d Debian

Pre-requisites

  1. Generate your SSH key

  2. Add ssh key to github

  3. Install dependencies

    • Debian
      apt update
      apt upgrade -y
      apt install -y sudo build-essential curl git wget zip unzip bash-completion procps openssh-client locales
  4. clone repo in wsl/linux/mac

git config --global init.defaultBranch main
git clone --bare [email protected]:blade2005/dotfiles.git ~/.cfg
git --git-dir=$HOME/.cfg/ --work-tree=$HOME checkout main --force
git --git-dir=$HOME/.cfg/ --work-tree=$HOME config --local status.showUntrackedFiles no

Install script

Installs a lot of things. It's categorized in functions so it's easy to see from the install script.

~/install.sh

tmux

started having issues with tmux. might need to override TERM=xterm-256color instead of alacritty stead of powershell by default

TODO