A modern, aesthetic, and functional Hyprland configuration for NixOS. Featuring a consistent Tokyo Night theme across all components, advanced workflow scripts, and a robust "infrastructure-as-code" setup using Home Manager and Flakes.
- Window Manager: Hyprland (Dwindle Layout)
- Bar: Waybar with custom "Tokyo Night" styling and interactive modules.
- Notifications: SwayNotificationCenter (SwayNC) with History and DND support.
- Launcher: Rofi (Wayland fork) with custom scripts for Audio and Bluetooth.
- Lock Screen: Hyprlock with blurred screenshot background.
- Power Menu: Wlogout.
- Theme: Tokyo Night (Global GTK, Icons, Kitty, Rofi, Waybar, Dunst/SwayNC).
To apply this configuration on a fresh NixOS installation:
-
Enable Flakes: Ensure your current
/etc/nixos/configuration.nixhasnix.settings.experimental-features = [ "nix-command" "flakes" ];. -
Clone the Repository:
git clone https://github.com/yourusername/mydots-nixos.git ~/mydots-nixos cd ~/mydots-nixos
-
Apply Configuration:
# For a fresh install (replacing hardware-configuration.nix if needed) sudo nixos-rebuild switch --flake .
-
Reboot: Reboot to log into your new Hyprland session.
| Key Combination | Action |
|---|---|
Super + Enter |
Open Terminal (Kitty) |
Super + Q |
Close Window |
Super + R |
Application Launcher (Rofi) |
Super + E |
File Manager (Thunar) |
Super + \ |
Toggle Quake/Dropdown Terminal |
Super + F |
Toggle Fullscreen |
Super + V |
Toggle Floating |
Super + L |
Lock Screen |
Super + Shift + S |
Screenshot (Region -> Clipboard) |
Super + Shift + W |
Wallpaper Selector |
Super + [1-9] |
Switch Workspace |
Super + Shift + [1-9] |
Move Window to Workspace |
This config includes custom scripts integrated into the environment:
- Audio Selector: Click the Volume icon in Waybar or run
rofi-audio. - Bluetooth Menu: Click the Bluetooth icon in Waybar or run
rofi-bluetooth. - Wallpaper Picker: Press
Super+Shift+Wto select a wallpaper from~/Pictures/Wallpapers.
flake.nix: Entry point.home.nix: Home Manager configuration (User packages, visual settings).modules/user/: Modularized configurations.hyprland/: Main WM config (binds, rules, execs).waybar/: Status bar config and styling.swaync/: Notification center.rofi/: Menus and scripts.hyprlock/: Lock screen.
MIT s
