yutkat/dotfiles
dotfiles
dotfiles
Overview
My home dotfiles
Supported OS
GUI
- NixOS (recommend)
- Arch Linux (You must install various GUI apps yourself)
CLI
- NixOS
- Arch Linux
- Ubuntu
- Fedora
Install (NixOS)
Download
git clone https://github.com/yutkat/dotfiles.git cd dotfilesEdit Configuration
vi flake.nix # myHosts = {Install nix (+flake +home-manager)
./install.shSetup (installing tools and linking to dotfiles)
sudo nixos-rebuild switch --flake .#<hostname>zsh plugin install
exec zshmise upgrade-all
mise upgradeneovim plugin install
vi --headless -c 'Lazy! sync' -c 'qall'Enjoy!
Install (Other OS)
Download
git clone https://github.com/yutkat/dotfiles.git cd dotfilesEdit Configuration
vi flake.nix # myHosts = {Install nix (+flake +home-manager)
./install.shSetup (installing tools and linking to dotfiles)
# Default user and hostname home-manager switch --flake .#<hostname> # If you override NIX_USERNAME or NIX_DOTFILES_PATH NIX_USERNAME=your_username home-manager switch --impure --flake .#<hostname> NIX_DOTFILES_PATH=/path/to/dotfiles home-manager switch --impure --flake .#<hostname>zsh plugin install
exec zshmise upgrade-all
mise upgradeneovim plugin install
vi --headless -c 'Lazy! sync' -c 'qall'
Temporary Install
If you do not want to dirty your home directory
Setup the container
docker run -it --rm archlinux:latest /bin/bashSetup the environment
pacman -Sy --noconfirm sudo git useradd -m -s /bin/bash test echo 'test ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers su - testDownload
git clone https://github.com/yutkat/dotfiles.git cd dotfilesInstall
./install.sh --single exec bashSetup (installing tools and linking to dotfiles)
home-manager switch --flake .#testzsh plugin install
exec zshmise upgrade-all
mise upgradeneovim plugin install
vi --headless -c 'Lazy! sync' -c 'qall'
Components
- zsh
- neovim
- wezterm
- (optional) Hyprland
Usage
Frequently used shortcuts
wezterm
| key | action |
|---|---|
| Alt-h/j/k/l | switch window |
| Alt-j | close window |
| Alt-k | create window |
| S-Up/Down/Left/Right | switch pane |
Hyprland/i3/sway
| key | action |
|---|---|
| Mod-h/j/k/l | switch window |
| Mod-S-h/j/k/l | move window |
| Mod-C-S-h/j/k/l | move workspace |