Compare commits
2 commits
b0682b23d5
...
bced970b5d
Author | SHA1 | Date | |
---|---|---|---|
bced970b5d | |||
67177b1a1a |
3 changed files with 27 additions and 1 deletions
|
@ -19,6 +19,7 @@ with lib.${namespace};
|
|||
|
||||
apps = {
|
||||
librewolf = enabled;
|
||||
libreoffice = enabled;
|
||||
thunderbird = enabled;
|
||||
chatterino = enabled;
|
||||
mpv = enabled;
|
||||
|
|
22
modules/home/apps/libreoffice/default.nix
Normal file
22
modules/home/apps/libreoffice/default.nix
Normal 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 ];
|
||||
};
|
||||
|
||||
}
|
|
@ -16,6 +16,9 @@ in
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = [ pkgs.runelite ];
|
||||
home.packages = with pkgs; [
|
||||
runelite
|
||||
bolt-launcher
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue