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.
Latest Updates
v0.25 Added some basic windows scripts and more features like fzf, readline for windows etc
v0.22 Added a rudimentary linux client install script run cd linux, run bash install.sh
v0.2 Added Linux Server information
0.14 Added Linux Zsh dotfiles
0.1 Started this project
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 -Force -
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, Readline and Fzf
Install-Module -Name z
Install-Module -Name PSReadLine -AllowPrerelease -Scope CurrentuSer -Force -SkipPublisherCheck
scoop install fzf
Install-Module -Name PSFzf -Scope CurrentUser -Force -
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 .. // cd linux ; bash install.sh for the brave
-
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 neovim from
-
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 time vsphere and other alternatives 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
Have a look at my awesome-list (https://github.com/wjk22/awesome-list) and you can see what kind of stuff I recommend
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