1

Modules/Hyprpanel: Add hyprpanel module

This commit is contained in:
2025-06-17 01:24:32 +02:00
parent 46dfc42c1e
commit f3259dfc6f
4 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,20 @@
{
config,
nixosConfig,
lib,
mylib,
pkgs,
...
}: let
inherit (config.modules) hyprpanel;
in {
options.modules.hyprpanel = import ./options.nix {inherit lib mylib;};
config = lib.mkIf hyprpanel.enable {
programs.hyprpanel = {
enable = true;
overwrite.enable = true;
};
};
}

View File

@ -0,0 +1,9 @@
{
lib,
mylib,
...
}:
with lib;
with mylib.modules; {
enable = mkEnableOption "hyprpanel";
}