This repository contains my personal NixOS configuration, featuring Hyprland as the window manager. It’s designed for daily use on my laptop and is a continuous work in progress. Whether you’re looking for inspiration or a starting point for your own setup, you’ll find modular, well-organized configs here.
Take a look at my desktop environment:
⚠️ Before you begin:
- Backup your existing
hardware-configuration.nix
.- Review the configs for any programs or environment variables that may not be supported by your hardware.
Clone this repository and create a symbolic link from the nixos
folder to /etc/nixos
:
sudo ln -s /<path-to-this-repo>/nixos /etc/nixos
Apply the configuration:
sudo nixos-rebuild switch
- Change your hostname in
configuration.nix
. - Change your username in
flake.nix
.
nixos/
│
├── programs/ # All the programs I use
│
├── shell/ # Terminal and shell utilities
│
├── WM/ # Hyprland & related configs
│ └── wallpaper # Wallpapers for home & hyprlock
│
├── configuration.nix # Core system settings (bluetooth, wifi, boot, etc.)
├── flake.nix # Flake inputs & home-manager
├── home.nix # User environment variables & user-specific configs
├── hardware-configuration.nix # Hardware-specific settings (edit after install)
│
└── README.md # This file
Keybinding | Action |
---|---|
Super + Q |
Open Kitty Terminal |
Super + W |
toggle waybar |
Super + E |
Open rofi app launcher |
Super + V |
Open rofi clipboard history |
Super + P |
Open rofi with open programs |
Super + C |
Open Visual Studio Code |
Super + B |
Open Brave Browser |
Super + L |
Lock the screen |
Super + shift + R |
Reboot |
Super + shift + S |
Shutdown the system |
Super + K |
kill the focused programs |
Super + O |
Open Obsidian |
- Add a program or utility:
- Create
<utility-or-program>.nix
in the appropriate folder (e.g.,programs/
,shell/
, orWM/
). - Import it in the folder’s
default.nix
.
- Create
- System-wide or privileged programs:
- Add them to
configuration.nix
.
- Add them to
This modular approach keeps everything organized and easy to maintain!
- Use home-manager for user-level configuration.
- Tweak and experiment! NixOS is all about reproducibility and customization.
Enjoy your new setup! If you have questions or suggestions, feel free to open an issue or PR. 😊