Thanks to visit codestin.com
Credit goes to github.com

Skip to content

usirrye/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Preview

Nix Dotfiles for Colemak-DH & Apple Layout

Before Using

  • These dotfiles are designed exclusively for linux that using Nix, and under Colemak-DH keyboard layout. Package management and system configuration differ significantly from other distributions.
  • sudo has been disabled and replaced by doas, witch is lighter and more secure.
  • The keymap in hyprland.nix is optimized for Colemak-DH keyboard layout. To adapt for standard QWERTY layouts:
    • Although modifying the keybindings is needed, fish hotkeys were configured as normal.
    • Note that nix.configuration retains kb_layout = us, as my layout customization occurs at the hardware level, not in software configuration.

Note

This setup uses Dae and Daed proxy. If you don't need the eBPF core feature or related options, you can safely ignore them. They're imported in ./flake.nix and ./imports/services.nix

Warning

substituters = lib.mkForce []; had been set in ./imports/env.nix due to I am keen on compiling.

Usage

Installation

sudo nixos-rebuild switch --flake /path/to/your/flake#your-hostname

Essential Hotkeys

Hotkeys

  • Press Super + [NUM] to switch workspaces directly
  • While holding Super + Shift:
    • S: Capture screenshot (grim, slurp, wl-copy)
    • D/T/R/A: Launch Discord/Telegram/Element/WeChat
    • [NUM]: Move window to specified workspace
    • N/I: Move window to previous/next workspace
    • H/W/M: Exit Hyprland/Restart Waybar/Reload Mako
  • Super + Mouse_Left: Drag windows
  • Super + Mouse_Right: Resize windows
    • Alternatively, use Super + Arrow keys for window resizing

Note

For others, please review the source codes.

Build Environment

Category Component
Distro NixOS 25.05
Kernel Linux 6.15.6
PkgMng nix (Nix) 2.28.4
CPU AMD Ryzen 9 9950X
Graphics AMD Radeon RX 6500XT
Monitor 2560x1080 75Hz@DP
2560x1080 120Hz@HDMI

I extend my gratitude to JetBrains for their support of open source.

JetBrains