Productivity package set

This commit is contained in:
NullBite 2024-03-21 22:25:44 -04:00
parent 6c4749d818
commit 50e98fb5f7
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A
3 changed files with 22 additions and 3 deletions
home

@ -1,8 +1,9 @@
{...}:
{
imports = [
./communication.nix
./dev.nix
./multimedia.nix
./communication.nix
./dev.nix
./multimedia.nix
./productivity.nix
];
}

@ -0,0 +1,17 @@
{ pkgs, lib, config, ... }:
let
cfg = config.nixfiles.packageSets.productivity;
inherit (lib) optionals;
in
{
config = lib.mkIf cfg.enable {
home.packages = with pkgs; optionals config.nixfiles.meta.graphical [
libreoffice-fresh
obsidian
] ++ [
pandoc
];
};
options.nixfiles.packageSets.productivity.enable = lib.mkEnableOption "the productivity package set";
}

@ -19,6 +19,7 @@ in
packageSets = {
communication.enable = true;
dev.enable = true;
productivity.enable = true;
};
};
};