22 lines
368 B
Nix
22 lines
368 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
with lib; let
|
|
cfg = config;
|
|
|
|
standardApps = with pkgs; [
|
|
kdePackages.gwenview
|
|
kdePackages.okular
|
|
];
|
|
in {
|
|
options.standardApps.enable = mkEnableOption ''
|
|
Enable image and graphics applications (e.g., Gwenview, Okular)
|
|
'';
|
|
|
|
config = {
|
|
home.packages = optionals cfg.standardApps.enable standardApps;
|
|
};
|
|
}
|