1
0
Fork 0
mirror of https://git.oat.zone/dark-firepit/dotfiles synced 2024-05-06 05:26:07 +02:00
git.oat.zone--dark-firepit-.../modules/desktop/apps/menus/nwggrid.nix
System administrator 0c3e18e002 help
2022-01-14 13:48:03 +00:00

22 lines
443 B
Nix

{ config, pkgs, inputs, lib, ... }:
with lib;
let
cfg = config.modules.desktop.apps.menus.nwggrid;
in {
options.modules.desktop.apps.menus.nwggrid = {
enable = mkOption {
type = types.bool;
default = false;
};
executable = mkOption {
type = types.str;
default = "${pkgs.nwg-launchers}/bin/nwggrid";
};
};
config = mkIf cfg.enable {
modules.desktop.apps.nwg-launchers.enable = true;
};
}