27 lines
389 B
Nix
27 lines
389 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.custom.study;
|
|
in
|
|
{
|
|
options.custom.study.enable = lib.mkOption {
|
|
type = lib.types.bool;
|
|
default = false;
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
environment.systemPackages = with pkgs; [
|
|
libreoffice
|
|
zotero
|
|
kile
|
|
texliveFull
|
|
imagemagick
|
|
ghostscript
|
|
kdePackages.okular
|
|
];
|
|
};
|
|
}
|