33 lines
470 B
Nix
33 lines
470 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
inputs,
|
|
lib,
|
|
...
|
|
}:
|
|
|
|
{
|
|
options = {
|
|
desktop.utilities = {
|
|
grimblast.enable = lib.mkEnableOption "enable grimblast";
|
|
};
|
|
};
|
|
|
|
config =
|
|
|
|
{
|
|
environment.systemPackages =
|
|
with pkgs;
|
|
[ ]
|
|
++ (
|
|
if config.desktop.utilities.grimblast.enable then
|
|
with pkgs;
|
|
[
|
|
grimblast
|
|
gradia
|
|
]
|
|
else
|
|
[ ]
|
|
);
|
|
};
|
|
}
|