use hyprland flake

This commit is contained in:
do butterflies cry? 2026-02-27 16:50:32 +10:00
parent f4afbbee14
commit 423e9e13b2
4 changed files with 540 additions and 75 deletions

View file

@ -1,4 +1,11 @@
{pkgs, ...}: {
{
inputs,
pkgs,
system,
...
}: let
# hyprpkgs = inputs.hyprland.packages.${system}
in {
environment.defaultPackages = with pkgs; [
hyprsunset
];
@ -17,9 +24,11 @@
programs = {
hyprland = {
enable = true;
package = inputs.hyprland.packages.${system}.hyprland;
portalPackage = inputs.hyprland.packages.${system}.xdg-desktop-portal-hyprland;
# withUWSM = true; # Universal Wayland Session Manager
xwayland.enable = true;
portalPackage = pkgs.xdg-desktop-portal-hyprland;
};
};
}