feat(libreoffice): add libreoffice package

This commit is contained in:
514fpv 2024-01-10 13:38:13 +08:00
parent 46337a3aed
commit c53b5395f7
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,9 @@
{ pkgs
, lib
, config
, ... }: with lib; let
cfg = config.passthrough.libreoffice;
enable = cfg.enable && (cfg.allUsers || (config.home.username == "app"));
in mkIf enable {
home.packages = with pkgs; [ libreoffice ];
}