nixos-config/modules/programs/office/default.nix

16 lines
343 B
Nix
Raw Normal View History

2021-12-12 14:32:38 +00:00
{ config, lib, pkgs, ... }:
2022-01-06 15:47:30 +00:00
let
2021-12-12 14:32:38 +00:00
cfg = config.ptw.programs.office;
2022-01-06 15:47:30 +00:00
in {
2021-12-12 14:32:38 +00:00
options.ptw.programs.office.enable = lib.mkEnableOption "Install and configure office software";
2022-01-06 15:47:30 +00:00
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
2023-04-08 15:30:39 +00:00
/*libreoffice*/
texlive.combined.scheme-basic
thunderbird
2022-01-06 15:47:30 +00:00
];
};
}