diff --git a/modules/programs/office/default.nix b/modules/programs/office/default.nix index 588058b..907dd86 100644 --- a/modules/programs/office/default.nix +++ b/modules/programs/office/default.nix @@ -1,15 +1,13 @@ -{ pkgs, config, lib, ... }: +{ config, lib, pkgs, ... }: let - cfg = config.ptw.programs; + cfg = config.ptw.programs.office; in { - options.ptw.programs.office = { - enable = lib.mkEnableOption "Install Office software"; - }; - + options.ptw.programs.office.enable = lib.mkEnableOption "Install and configure office software"; + config = lib.mkIf cfg.enable { environment.systemPackages = with pkgs; [ - libreoffice + libreoffice texlive.combined.scheme-basic ]; }; } diff --git a/modules/programs/plasma/default.nix b/modules/programs/plasma/default.nix index 56ad7ac..8eb1638 100644 --- a/modules/programs/plasma/default.nix +++ b/modules/programs/plasma/default.nix @@ -26,6 +26,7 @@ in { libsForQt5.okular libsForQt5.kdeconnect-kde libsForQt5.breeze-gtk + libsForQt5.bismuth index-fm #kasts-git rsibreak