mirror of
https://github.com/ItsDrike/nixdots
synced 2025-06-29 02:50:41 +00:00
Add early incomplete hyprland config
This commit is contained in:
parent
953334c841
commit
6da71787f1
17 changed files with 491 additions and 6 deletions
|
@ -4,6 +4,7 @@ in
|
|||
{
|
||||
imports = [
|
||||
./git.nix
|
||||
./wms.nix
|
||||
];
|
||||
|
||||
options.myOptions.home-manager = {
|
||||
|
|
22
options/home/wms.nix
Normal file
22
options/home/wms.nix
Normal 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.
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue