1
0
Fork 0

Compare commits

...

2 commits

3 changed files with 27 additions and 1 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 ];
};
}

View file

@ -16,6 +16,9 @@ in
};
config = mkIf cfg.enable {
home.packages = [ pkgs.runelite ];
home.packages = with pkgs; [
runelite
bolt-launcher
];
};
}