nixos/modules/work/libreoffice/default.nix
2023-09-05 09:14:06 +04:00

16 lines
291 B
Nix

{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.work.libreoffice;
in
{
options.modules.work.libreoffice = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
libreoffice
];
};
}