Hi there,
// work in progress
thought as first post I write a small intro how I setup my
work environment fast and efficient, a computer should be IMHO very exchangeable, so it crashes, you buy a new, follow some steps sync your files from your cloud and continue working. Love WSL2, looking forward to try the Android Subsystem for Windows .. I still have some Proxmox server running. This just a part of my setup running terminator on wsl in X on Windows too, will update the repo over time.
Uploaded it to github files are there to download, Enjoy
v0.2
https://github.com/wjk22/dotfiles-public
public dotfiles ..
Just my own setup for Windows and Linux as my work environment etc
Btw I use bitwarden/duo/2fa for nearly all my logins and store my own data encrypted
at my own seafile server or my own gogs/gitea server.
v0.2
Windows
Setup two users user/admin admin password protected, work only as normal user.
Install Chocolatey - Windows App Installer and some basic apps
choco install totalcommander powershell-core ditto imageglass everything git googlechrome firefox openvpn potplayer processhacker gsudo vscode vim wox vlc python3
Install Total Commander Ultima Prime from https://www.tcup.pl/index.php/en/, buy a license from https://www.ghisler.com/ (
This is imho the best file commander ever invented, please prove me wrong..)Install Netlimiter and buy a license - https://www.netlimiter.com/
Install Windows Terminal or Windows Terminal Preview. Work as user, elevate with gsudo.
-
Download and install these Fonts and set them as defaul in Windows Terminal
Install Oh My Posh - Prompt Engine
Install-Module oh-my-posh -Scope CurrentUser -Force
'Install-Module posh-git -Scope CurrentUser -Forice`Install Terminal Icons - Folder and File Icons
Install scoop a command line user installer
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
scoop install curl
Install z for Windows Powershell
Install-Module -Name z
Install WSL -> https://docs.microsoft.com/en-us/windows/wsl/install
Install Debian from the Microsoft Store ..and change WSL to Version II
Install Seafile if you use a seafile server, highly recommended, choco install seafile-client, I keep all
my data in my own cloud encrypted and on a backup drive.Install Macrium Reflect Free and backup your data every week at least ..
Install Windows Update shell scripts with
gsudo admin shell> Install-Module -Name PSWindowsUpdate -Force
Install Bitwarden for Chrome/Firefox/Windows and connect it to your own server.
Install Duo Security as dual factor login for your windows/remote desktops, bitwarden server etc pp. It is free for a 10 user or less environment.
Linux (Debian in WSL2)
// I am old school I prefer zsh over fish ..
Install zsh, tmux, htop, vim, mtr-tiny, curl, iptraf,git, tcpdump, mc // I use Debian so apt install ....
Install Oh my ZSH,ZSH-Autosuggestion, enable plugins
.sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
Install P10K from https://github.com/romkatv/powerlevel10k
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
z for zsh - Z Directory jumper for ZSH
Setup my tmux, I use old screen bindings Ctrl-a
Install vscode from https://code.visualstudio.com/download
Install NodeJS
sudo curl -sL https://deb.nodesource.com/setup_17.x | sudo bash -
Install sl
'sudo apt install sl'
Linux Server (Debian in Proxmox)
Setup a proxmox server. This is my currently favourite virtualization platform, after being a long vsphere and other user.
Setup a debian inside the proxmox server.
change /etc/apt/sources.list add contrib non-free, run apt update, apt distupgrade
Install docker docker-compose, vim, htop, tmux, zsh and the other usual suspects
Install your favorite webserver.
Install Vaultwarden docker via docker-compose.
Install SeaFile.
Install Gogs or Gitea.
Secure all webservices with lets-encrypt/certbot.
Mac
hehe stopped using a mac two years ago :P
Stuff to try
eal opens aliases in vim and rereads aliases
Windows
Alt-space opens wox
Linux
Crlt-r in zsh searches in your history
Links
Inspired to publish my version by Craftzdog
https://github.com/craftzdog/dotfiles-public#readme
... follow the white rabbit, no there is no spoon and may the force be with you ..
Wojciech Kalka wojciech.kalka@skynet-services.net
Top comments (1)
Updating this from time to time .. :)