Productivity package set
This commit is contained in:
parent
6c4749d818
commit
50e98fb5f7
@ -4,5 +4,6 @@
|
|||||||
./communication.nix
|
./communication.nix
|
||||||
./dev.nix
|
./dev.nix
|
||||||
./multimedia.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 = {
|
packageSets = {
|
||||||
communication.enable = true;
|
communication.enable = true;
|
||||||
dev.enable = true;
|
dev.enable = true;
|
||||||
|
productivity.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user