Add libreoffice module

This commit is contained in:
Jordan Holt 2023-07-22 21:24:52 +01:00
parent 8815dc84f4
commit 89f89569ad
Signed by: jordan
GPG Key ID: B8CFFF61F1CCF520
3 changed files with 18 additions and 0 deletions

View File

@ -33,6 +33,7 @@ with lib.my;
raster.enable = true;
vector.enable = true;
};
office.libreoffice.enable = true;
};
dev = {
node.enable = true;

View File

@ -12,6 +12,7 @@
./desktop/gaming/steam.nix
./desktop/media/graphics.nix
./desktop/media/recording.nix
./desktop/office/libreoffice.nix
./dev/cc.nix
./dev/java.nix
./dev/lua.nix

View File

@ -0,0 +1,16 @@
{ config, lib, pkgs, ... }:
with lib;
with lib.my;
let cfg = config.modules.desktop.office.libreoffice;
in {
options.modules.desktop.office.libreoffice = {
enable = mkBoolOpt false;
};
config = mkIf cfg.enable {
user.packages = with pkgs; [
libreoffice
];
};
}