hyprland: re-add system module

This commit is contained in:
2025-03-16 17:18:24 +00:00
parent 0850fcf0a0
commit f4fa942b50
5 changed files with 34 additions and 9 deletions

View File

@ -0,0 +1,25 @@
{
config,
lib,
...
}:
let
inherit (lib)
mkEnableOption
mkIf
;
cfg = config.modules.system.desktop.hyprland;
in
{
options.modules.system.desktop.hyprland.enable = mkEnableOption "hyprland";
config = mkIf cfg.enable {
services.displayManager.ly.enable = true;
programs.hyprland = {
enable = true;
# withUWSM = true;
};
};
}