My NixOS configuration😃
Find a file
2025-01-05 01:07:48 +08:00
home feat: nvidia Hyprland 2025-01-05 01:06:00 +08:00
pkgs/fonts/sf-pro-display-bold feat: add hyprlock & hypridle 2025-01-03 22:37:31 +08:00
system refactor: remove unused code 2025-01-05 01:07:48 +08:00
flake.lock fix: neovim 2025-01-02 22:17:54 +08:00
flake.nix fix: wireguard config file permission issue 2025-01-03 14:33:27 +08:00
README.md feat: add hyprlock & hypridle 2025-01-03 22:37:31 +08:00

🚀 NixOS With Hyprland


Main Applications

  • Hyprland (uwsm support)
  • Neovim
  • Waybar
  • Hyprlock
  • Hypridle
  • Swaync (Notification Center)
  • Hyprpaper (Wallpaper)
  • Ghostty (Terminal)
  • SDDM (Display Manager)
  • Fish (shell)
  • Rofi (Application Launcher)

🎈 Theme

  • Catppuccin (Macchiato Lavender)
  • plymouth (Boot Splash)

🎮 Game

  • Steam
  • Xbox wireless controller

🧠 Virtualization

  • Virt Manager (libvirt)
  • Windows 11 example config: win11_kvm.xml

⌨️ Input (Fcitx5)

  • Rime (bopomofo, pinyin)
  • Mozc (Japanese)

🌐 VPN

  • Wireguard (You need put your own wg0.conf file) .

NOTE: If import wireguard.nix without config file, the Build will fail.


💿 Installation

Your need to add your own device in flake.nix, and create configuration in system/dev (don't forget the hardware-configuration.nix generated with nixos-generate-config)

Example

system/dev/
├── <your-device-name>
    ├── boot.nix # You can add extra boot options here 
    ├── default.nix # Import modules you need
    └── hardware-configuration.nix # Your hardware configuration

flake.nix

nixosConfigurations = {
  <your-device-name> = nixpkgs.lib.nixosSystem {
    modules = [
      nix-index-database.nixosModules.nix-index
      ./system/dev/<your-device-name>
    ];
    specialArgs = {
      inherit inputs system nix-version;
    };
  };
};

❄️ Flake

home manager is configured to rebuild with NixOS

OS Install

nixos-install --flake .#<your device name>

Rebuild Switch

nixos-rebuild switch --flake .#<your device name>