Skip to content

Latest commit

 

History

History
86 lines (61 loc) · 3.19 KB

README.md

File metadata and controls

86 lines (61 loc) · 3.19 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. On MacOS only: Install homebrew

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  2. Install uv

    UV_UNMANAGED_INSTALL=1 UV_NO_MODIFY_PATH=1 curl -LsSf https://astral.sh/uv/install.sh | sh

Install

  1. Execute ansible with uv

    sudo -v
    uv tool run --from ansible-core ansible-pull -U https://github.com/raypappa/ansible-role-dev-server.git -i localhost playbook.yaml
  2. Ensure we only see tracked files

    git --git-dir=$HOME/.cfg/ --work-tree=$HOME config --local status.showUntrackedFiles no

tmux

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

TODO