Productivity package set
This commit is contained in:
parent
6c4749d818
commit
50e98fb5f7
@ -1,8 +1,9 @@
|
||||
{...}:
|
||||
{
|
||||
imports = [
|
||||
./communication.nix
|
||||
./dev.nix
|
||||
./multimedia.nix
|
||||
./communication.nix
|
||||
./dev.nix
|
||||
./multimedia.nix
|
||||
./productivity.nix
|
||||
];
|
||||
}
|
||||
|
17
home/package-sets/productivity.nix
Normal file
17
home/package-sets/productivity.nix
Normal file
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user