A collection of dotfiles managed using Home Manager and Nix.
| System Type | Support |
|---|---|
| Ubuntu | ✅ |
| NixOS | ✅ |
You'll need:
- Nix package manager installed
- Fish shell (recommended, install via your system's package manager)
- Clone this repository:
git clone https://github.com/dlrobson/dotfiles.git
cd dotfiles- Run the installation script:
./setup.shThis script will:
- Install required packages
- Install and configure Nix
- Install Home Manager
- Deploy the configuration
After installation, you'll need to set Fish as your default shell:
chsh -s $(which fish)Log out and log back in for the changes to take effect.
KMonad keyboard remapping is only supported on Ubuntu/Debian systems. NixOS users should use the built-in keyboard configuration options instead.
If you want to use KMonad on Ubuntu/Debian:
- Make sure Home Manager has installed the configuration
- Run the KMonad setup script:
./kmonad/kmonad-setup.shThis will:
- Set up required udev rules
- Add your user to necessary groups
- Enable and start the KMonad service
- Check status:
systemctl --user status kmonad-mapping.service - Stop service:
systemctl --user stop kmonad-mapping.service - Disable service:
systemctl --user disable kmonad-mapping.service - Enable service:
systemctl --user enable kmonad-mapping.service
All configurations are managed through Home Manager and can be found in:
home.nix: Main Home Manager configurationkmonad/: KMonad-related configurations
To add new dotfile features:
- Edit
home.nixto add your new configuration - Apply changes by running:
home-manager switch