17 lines
295 B
Nix
17 lines
295 B
Nix
|
{
|
||
|
config,
|
||
|
lib,
|
||
|
pkgs,
|
||
|
...
|
||
|
}:
|
||
|
with lib; let
|
||
|
cfg = config.features.desktop.office;
|
||
|
in {
|
||
|
options.features.desktop.office.enable =
|
||
|
mkEnableOption "enable office features";
|
||
|
|
||
|
config = mkIf cfg.enable {
|
||
|
home.packages = with pkgs; [libreoffice neomutt pdftk okular zathura];
|
||
|
};
|
||
|
}
|