Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Devbox Global Configuration

This directory contains my global development environment configuration.

Files

  • devbox.json - Devbox package list
  • devbox.lock - Locked package versions
  • home-manager.nix - Home Manager declarative configuration
  • kitty.conf - Kitty terminal configuration

Devbox Global Configuration

This directory contains my global development environment configuration.

Quick Setup (Automated)

Run this one-liner to set up everything automatically:

curl -fsSL https://raw.githubusercontent.com/clifinger/devbox-config/main/install.sh | bash

Or clone and run manually:

git clone git@github.com:clifinger/devbox-config.git
cd devbox-config
./install.sh

Manual Setup

If you prefer to install step-by-step:

  1. Install Nix:

    curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
  2. Install Devbox:

    curl -fsSL https://get.jetify.com/devbox | bash
  3. Pull this config:

    devbox global pull git@github.com:clifinger/devbox-config.git
  4. Install Home Manager:

    nix-channel --add https://github.com/nix-community/home-manager/archive/release-24.05.tar.gz home-manager
    nix-channel --update
    nix-shell '<home-manager>' -A install
  5. Link configs:

    ln -sf ~/.local/share/devbox/global/default/home-manager.nix ~/.config/home-manager/home.nix
    ln -sf ~/.local/share/devbox/global/default/kitty.conf ~/.config/kitty/kitty.conf
  6. Apply home-manager:

    home-manager switch
  7. Set Fish as default shell:

    sudo chsh -s $(which fish) $USER

Files

  • install.sh - Automated installation script
  • devbox.json - Devbox package list
  • devbox.lock - Locked package versions
  • home-manager.nix - Home Manager declarative configuration
  • kitty.conf - Kitty terminal configuration
  • README.md - This file

Configuration Management

Updating Configuration

After making changes to any config file:

home-manager switch              # Apply changes
devbox global push git@github.com:clifinger/devbox-config.git  # Push to repo

Or use the convenient alias:

hms  # Alias for home-manager switch

Starship

Starship config is auto-generated from preset via home-manager activation hook. To manually regenerate:

starship preset nerd-font-symbols -o ~/.config/starship.toml

Kitty

Kitty uses the system package from Fedora (not Nix) due to EGL/Wayland compatibility. Config is managed separately at ~/.config/kitty/kitty.conf.

Tools included

  • Shell: Fish with Starship prompt
  • Terminal: Kitty
  • Navigation: Zoxide (smart cd)
  • File listing: Eza (modern ls)
  • Git: Lazygit
  • Containers: Podman + Lazydocker
  • Version management: Mise
  • Directory environment: Direnv

About

My devbox global configuration

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages