https://github.com/ninagrosse/dotfiles
My personal dotfiles, managed with chezmoi
https://github.com/ninagrosse/dotfiles
chezmoi dotfiles dotfiles-linux dotfiles-macos dotfiles-windows
Last synced: about 1 month ago
JSON representation
My personal dotfiles, managed with chezmoi
- Host: GitHub
- URL: https://github.com/ninagrosse/dotfiles
- Owner: ninagrosse
- License: mit
- Created: 2024-09-29T11:27:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-26T15:56:01.000Z (about 1 year ago)
- Last Synced: 2025-03-26T16:41:49.119Z (about 1 year ago)
- Topics: chezmoi, dotfiles, dotfiles-linux, dotfiles-macos, dotfiles-windows
- Language: Shell
- Homepage:
- Size: 1.04 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🏠 dotfiles
My personal dotfiles, managed with chezmoi. Compatible with Linux, MacOS and Windows 11.
## 📖 Linux & MacOS instructions
### Requirements
* zsh
* [chezmoi](https://github.com/twpayne/chezmoi)
* [age](https://github.com/FiloSottile/age) (for encryption)
* Package manager
* Arch: `pacman` and [`paru`](https://github.com/Morganamilo/paru)
* MacOS and other Linuxes: [Homebrew](https://brew.sh/) [^1]
* [Jetbrains Mono Nerd Font](https://www.nerdfonts.com/font-downloads) (for the terminal emulator)
### Installation
```shell
chezmoi init --apply ninagrosse --ssh
```
This installs `chezmoi`, clones the repo and applies everything. Follow the on-screen prompts to setup git email and username. For cloning with https instead, omit `--ssh`.
### Scripts description
#### [`run_once_01-setup_zsh.sh`](run_once_01-setup_zsh.sh)
Installs `oh-my-zsh`, `zsh-autosuggestions` and `zsh-syntax-highlighting`, if they are not already installed.
#### [`run_onchange_02-install_packages.sh`](run_onchange_02-install_packages.sh.tmpl)
Installs various CLI tools and apps with the appropriate package manager and performs necessary setups if needed.
Homebrew installs packages from `Brewfile` while Arch uses `packages-arch.sh`.
## 📖 Windows instructions
### Requirements
* [Scoop](https://scoop.sh/)
* winget
* [Git for Windows](https://git-scm.com/downloads/win) (can install with `winget install --id Git.Git -e --source winget`)
* [Jetbrains Mono Nerd Font](https://www.nerdfonts.com/font-downloads) (for the terminal emulator and yasb)
### Installation
In Windows Settings
* Go to System -> Developer -> PowerShell -> enable unsigned local scripts
* Go to System -> Developer -> Enable Developer Mode
* Go to System -> Multitasking -> Disable Windows Snap Assist (if using komorebi)
Install `chezmoi`
```shell
# with scoop
scoop install chezmoi
```
```shell
# with winget
winget install twpayne.chezmoi
```
Install dotfiles
```shell
chezmoi init --apply ninagrosse --ssh
```
This clones the repo and applies everything. Follow the on-screen prompts to setup git email and username. For cloning with https instead, omit `--ssh`.
To start the AutoHotkey script upon login, run (Win+R) `shell:startup` to open the startup folder. Create a shortcut to `capslock.ahk` in this folder.
### Scripts description
#### [`run_onchange_01-install_scoop_packages.ps1`](run_onchange_01-install_scoop_packages.ps1)
Installs various CLI tools and apps with Scoop and performs necessary setups if needed.
#### [`run_onchange_02-install_winget_packages.ps1`](run_onchange_02-install_winget_packages.ps1)
Installs various desktop applications with winget.
## ⚙️ Other configs
* [Neovim config](https://github.com/ninagrosse/lazyvim-config)
* [CLI tools plugin for xxh](https://github.com/ninagrosse/xxh-plugin-prerun-cli-tools)
[^1]: Other Linuxes have their own tools for package management, but for the distros I use besides Arch (Debian, Ubuntu, Fedora), a lot of the packages aren't available in their repositories. Using Homebrew on non-Arch systems is just more hassle-free.