Repo containing my personal configuration files and environment. The files can be setup using chezmoi. If you want to use them do the following:
On Windows:
iex "&{$(irm 'https://get.chezmoi.io/ps1')} -b '~/.local/bin' init --apply --force jmigual"On Linux/Unix:
sh -c "$(curl -fsLS chezmoi.io/get)" -- -b $HOME/.local/bin init --apply jmigual This will download chezmoi in the ~/.local/bin/ folder, initialize the repository and apply the configuration. The configuration will be stored in the ~/.local/share/chezmoi directory.
These are the list of packages recommended in a system and recommended install source (in parenthesis):
- Windows:
- Required:
- git (winget)
- 7zip (scoop)
- starship (scoop)
- PSReadLine (
Install-Module PSReadLine)
- Recommended:
- scoop: Package manager for windows that doesn't require admin rights
- less (scoop)
- nodejs-lts (scoop)
- cmake (scoop)
- fd (scoop): better
findcommand - ripgrep (scoop): better
grepcommand - bat (scoop): better
catcommand - OpenSSH (winget)
- fzf (scoop)
- PowerShell modules:
- Terminal-Icons (
Install-Module Terminal-Icons) - PSFzf (
Install-Module PSFzf)
- Terminal-Icons (
- Required:
- Linux / Unix:
- Required:
- Recommended:
- cargo (comes with rust toolchain)
- zsh
- fish
- gcc
- ninja
- cmake (source)
- fd-find (cargo): better
findcommand - ripgrep (cargo): better
grepcommand - bat (cargo): better
catcommand - lsd (cargo): better
lscommand - flamegraph (cargo)
- pipx (pip)
- yt-dlp (pipx)
- Install Gpg4win
- Import private key
- Set environment variable
GIT_SSHtoC:\Program Files\OpenSSH\ssh.exe - Delete environment variable
SSH_AUTH_SOCKif set - Disable OpenSSH Authentication Agent service
- Add the following lines to
%APPDATA%\gnupg\gpg-agent.conf:
enable-putty-support
enable-ssh-support
enable-win32-openssh-support
- Run
gpg -K --with-keygripand set the keygrip of the key to%APPDATA%\gnupg\sshcontrol. Make sure that the file has a single ending LF newline.
Sometimes the home is set to HOMESHARE (e.g. \\campushome\myuser). To prevent this, you can add the following to the C:\Windows\System32\drivers\etc\hosts file:
campushome 127.0.0.1