18 lines
337 B
Nix
18 lines
337 B
Nix
{ options, config, lib, pkgs, ... }:
|
|
with lib;
|
|
with lib.custom;
|
|
let
|
|
cfg = config.modules.desktop.documents;
|
|
in {
|
|
options.modules.desktop.documents = {
|
|
enable = mkBoolOpt false;
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
user.packages = with pkgs; [
|
|
onlyoffice-bin
|
|
tectonic
|
|
];
|
|
};
|
|
}
|