21 lines
302 B
Nix
21 lines
302 B
Nix
{
|
|
outputs,
|
|
options,
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.modules.work.libreoffice;
|
|
in {
|
|
options.modules.work.libreoffice = {
|
|
enable = lib.mkEnableOption false;
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
users.users.sako.packages = with pkgs; [
|
|
libreoffice
|
|
];
|
|
};
|
|
}
|