feat(libreoffice): add libreoffice package
This commit is contained in:
parent
46337a3aed
commit
c53b5395f7
2 changed files with 31 additions and 0 deletions
9
home/libreoffice/home.nix
Normal file
9
home/libreoffice/home.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ pkgs
|
||||
, lib
|
||||
, config
|
||||
, ... }: with lib; let
|
||||
cfg = config.passthrough.libreoffice;
|
||||
enable = cfg.enable && (cfg.allUsers || (config.home.username == "app"));
|
||||
in mkIf enable {
|
||||
home.packages = with pkgs; [ libreoffice ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue