feat(fuzzel): add enable option

This commit is contained in:
2026-05-22 10:20:45 +02:00
parent 87ff32bac3
commit 98a62b262b
2 changed files with 32 additions and 10 deletions

View File

@@ -1,14 +1,27 @@
{
programs.fuzzel = {
enable = true;
settings = {
main = {
horizontal-pad = 0;
vertical-pad = 0;
};
border = {
width = 2;
radius = 0;
config,
lib,
...
}:
let
cfg = config.fuzzel;
in
{
options.fuzzel.enable = lib.mkEnableOption "fuzzel";
config = lib.mkIf cfg.enable {
programs.fuzzel = {
enable = true;
settings = {
main = {
horizontal-pad = 0;
vertical-pad = 0;
};
border = {
width = 2;
radius = 0;
};
};
};
};