office: Add module

This commit is contained in:
2022-01-06 16:47:30 +01:00
parent c69aeddb1e
commit 01a0b56321
4 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
{ pkgs, config, lib, ... }:
let
cfg = config.ptw.programs;
in {
options.ptw.programs.office = {
enable = lib.mkEnableOption "Install Office software";
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
libreoffice
];
};
}