From 799aa739453f14161eef23302ac9357c24fcdada Mon Sep 17 00:00:00 2001 From: Silas Schöffel Date: Sun, 2 Jun 2024 14:22:44 +0200 Subject: hyprland: init module --- modules/nixos/sils/hyprland.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 modules/nixos/sils/hyprland.nix (limited to 'modules/nixos/sils/hyprland.nix') diff --git a/modules/nixos/sils/hyprland.nix b/modules/nixos/sils/hyprland.nix new file mode 100644 index 0000000..73ba9c2 --- /dev/null +++ b/modules/nixos/sils/hyprland.nix @@ -0,0 +1,15 @@ +{ + config, + lib, + ... +}: let + cfg = config.sils.hyprland; +in { + options.sils.hyprland.enable = lib.mkEnableOption "hyprland"; + config = lib.mkIf cfg.enable { + programs.hyprland = { + enable = true; + xwayland.enable = true; + }; + }; +} -- cgit v1.3.1