nixos/home/libreoffice/home.nix

10 lines
226 B
Nix
Raw Normal View History

{ 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 ];
}