office to module
This commit is contained in:
1 parent
c115d3e220
commit
ddb5c2872c
6 files changed
+27
-2
No files matched your search
@@ -0,0 +1,18 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
let
|
||||
inherit (lib) mkIf mkOption types;
|
||||
in
|
||||
{
|
||||
options.smayzy.office.enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "office";
|
||||
};
|
||||
|
||||
config = mkIf config.smayzy.office.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
libreoffice-qt6-still
|
||||
hunspellDicts.fr-any
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user