1
0
Fork 0

add(libreoffice): home-manager package for libreoffice

This commit is contained in:
Philipp 2025-08-13 18:50:16 +02:00
parent b0682b23d5
commit 67177b1a1a
Signed by: Philipp
GPG key ID: B27C3DE2FD94AFC3
2 changed files with 23 additions and 0 deletions

View file

@ -19,6 +19,7 @@ with lib.${namespace};
apps = {
librewolf = enabled;
libreoffice = enabled;
thunderbird = enabled;
chatterino = enabled;
mpv = enabled;

View file

@ -0,0 +1,22 @@
{
config,
lib,
pkgs,
namespace,
...
}:
with lib;
with lib.${namespace};
let
cfg = config.${namespace}.apps.libreoffice;
in
{
options.${namespace}.apps.libreoffice = with types; {
enable = mkBoolOpt false "Whether or not to enable libreoffice.";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [ libreoffice ];
};
}