mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
Move libreoffice stuff into a module
This commit is contained in:
parent
8593e7dae3
commit
a176c88b5d
2 changed files with 21 additions and 7 deletions
18
modules/home/programs/libreoffice.nix
Normal file
18
modules/home/programs/libreoffice.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.custom.programs.libreoffice.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf config.custom.programs.libreoffice.enable {
|
||||
home.packages = with pkgs; [
|
||||
libreoffice
|
||||
hunspell
|
||||
hunspellDicts.de_DE
|
||||
hunspellDicts.en_US
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue