28 lines
423 B
Nix
28 lines
423 B
Nix
{
|
|
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;
|
|
|
|
networking.networkmanager.enable = true;
|
|
|
|
programs.hyprland = {
|
|
enable = true;
|
|
# withUWSM = true;
|
|
};
|
|
};
|
|
}
|