My NixOS configuration😃
Find a file
2025-01-23 12:50:04 +08:00
home fix: nixd lsp 2025-01-23 12:50:04 +08:00
pkgs style: patch vesktop 2025-01-15 21:02:20 +08:00
system fix: nixd lsp 2025-01-23 12:50:04 +08:00
utils feat: update to latest linux kernel 2025-01-17 15:21:32 +08:00
.prettierrc feat: rofi plugins 2025-01-16 21:06:10 +08:00
flake.lock fix: remove nvf input 2025-01-22 19:29:18 +08:00
flake.nix fix: remove nvf input 2025-01-22 19:29:18 +08:00
README.md docs: update README.md 2025-01-06 21:45:56 +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.

🧊 CUDA

See Python Cuda Flake

🧱 Wallpaper Engine


💿 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>