Add early incomplete hyprland config

This commit is contained in:
ItsDrike 2024-06-09 22:40:50 +02:00
parent 953334c841
commit 6da71787f1
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
17 changed files with 491 additions and 6 deletions

View file

@ -4,6 +4,7 @@ in
{
imports = [
./git.nix
./wms.nix
];
options.myOptions.home-manager = {

22
options/home/wms.nix Normal file
View file

@ -0,0 +1,22 @@
{
config,
lib,
...
}: let
inherit (lib) mkEnableOption mkOption types;
in {
options.myOptions.home-manager.wms = {
hyprland.enable = mkEnableOption ''
Hyprland wayland compositor.
'';
isWayland = mkOption {
type = types.bool;
default = with config.myOptions.home-manager.wms; (hyprland.enable);
description = ''
Whether to enable Wayland exclusive modules, this contains a variety
of packages, modules, overlays, XDG portals and so on.
'';
};
};
}