hyprland: re-add system module
This commit is contained in:
25
modules/nixos/system/desktop/hyprland.nix
Normal file
25
modules/nixos/system/desktop/hyprland.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user