1
0
mirror of https://github.com/tboerger/nixos-config synced 2024-11-23 03:32:08 +01:00
github.com-tboerger-nixos-c.../home/shared/programs/office.nix
2024-01-30 14:00:26 +01:00

27 lines
361 B
Nix

{ pkgs, lib, config, options, ... }:
with lib;
let
cfg = config.profile.programs.office;
in
{
options = {
profile = {
programs = {
office = {
enable = mkEnableOption "Office";
};
};
};
};
config = mkIf cfg.enable {
home = {
packages = with pkgs; [
onlyoffice-bin
];
};
};
}