feat(nixos): add Hyprland

This commit is contained in:
Mohammad Rafiq 2025-02-22 15:09:44 +08:00
parent 12dc3d11df
commit a7986e8f8f
3 changed files with 444 additions and 2 deletions

View file

@ -105,6 +105,9 @@
# Graphics
cudatoolkit
nvidia-vaapi-driver # Required for hardware acceleration on Wayland
# Terminal
kitty # Terminal Emulator (requirement for default Hyprland)
];
##############################
@ -118,6 +121,14 @@
enable = true;
};
programs.hyprland = {
enable = true;
# Use the hyprland package defined in flake.nix instead of the nixpkgs-unstable
# package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
# portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
};
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave