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