diff options
| author | Silas Schöffel <sils@sils.li> | 2024-06-02 14:22:44 +0200 |
|---|---|---|
| committer | Silas Schöffel <sils@sils.li> | 2024-06-02 14:22:44 +0200 |
| commit | 799aa739453f14161eef23302ac9357c24fcdada (patch) | |
| tree | 826c854113e855fd90d25a8e47ec34ff0664e7e7 /modules/nixos/sils/hyprland.nix | |
| parent | bluetooth: init module (diff) | |
| download | nix-config-799aa739453f14161eef23302ac9357c24fcdada.zip | |
hyprland: init module
Diffstat (limited to 'modules/nixos/sils/hyprland.nix')
| -rw-r--r-- | modules/nixos/sils/hyprland.nix | 15 |
1 files changed, 15 insertions, 0 deletions
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; + }; + }; +} |
