Personal configuration files managed with GNU stow and Nix home-manager.
.
├── dot-bashrc # Bash configuration
├── dot-gitconfig # Git configuration
├── justfile # Just command runner recipes
├── dot-config/ # XDG config directory
│ ├── atuin/ # Shell history sync
│ ├── ghostty/ # Terminal emulator
│ └── git/ # Git ignore patterns
└── home-manager/ # Nix home-manager configuration
├── flake.nix # Flake with multiple configurations
├── home.nix # Base home-manager config
├── niri.nix # Niri wayland compositor module
├── helix/ # Helix editor config
└── jj/ # Jujutsu VCS config
-
Clone this repository:
git clone https://github.com/schlich/dotfiles.git ~/dotfiles cd ~/dotfiles
-
Use stow to symlink configs (stow automatically converts
dot-*to.):stow .
cd ~/dotfiles/home-manager
nix run home-manager/master -- switch --flake .#nixoscd ~/dotfiles/home-manager
nix run home-manager/master -- switch --flake .#nixos-niriThis will install niri and related wayland tools (waybar, fuzzel, mako, etc.).
cd ~/dotfiles/home-manager
nix flake update
home-manager switch --flake .#nixos # or .#nixos-niricd ~/dotfiles
git pull
stow --restow .- The
dot-*prefix is automatically converted to.by GNU stow home-manager/niri.nixcontains niri-specific configuration- WSL configuration (
nixos) excludes window manager packages - Native Linux configuration (
nixos-niri) includes full desktop setup