pinwheel: Use hyprland nixos module

This commit is contained in:
Alexander Heldt
2026-01-09 16:15:20 +01:00
parent 0ddc0c7fef
commit f4870970d5
3 changed files with 493 additions and 4 deletions

View File

@@ -1,4 +1,5 @@
{
inputs,
pkgs,
lib,
config,
@@ -15,6 +16,17 @@ in
};
config = lib.mkIf enabled {
programs.hyprland = {
enable = true;
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
portalPackage =
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
xwayland = {
enable = true;
};
};
home-manager.users.alex = {
wayland.windowManager.hyprland = {
enable = true;