[hyprland] Add module

This commit is contained in:
Tibo De Peuter 2024-03-04 16:46:30 +01:00
parent 85553a4a9c
commit 1ac8bc985c
2 changed files with 16 additions and 0 deletions

View file

@ -1,6 +1,7 @@
{
imports = [
./gnome
./hyprland
./plasma
./sway
];

View file

@ -0,0 +1,15 @@
{ config, lib, ... }:
let
cfg = config.sisyphus.desktop.hyprland;
in {
options.sisyphus.desktop.hyprland.enable = lib.mkEnableOption "Hyprland";
config = lib.mkIf cfg.enable {
programs.hyprland = {
enable = true;
xwayland.enable = true;
};
};
}