dotfiles/modules/config/bin/default.nix

27 lines
481 B
Nix
Raw Normal View History

2022-07-15 13:11:54 +02:00
{ config
, lib
, pkgs
, ...
}:
with lib;
let
cfg = config.my.bin;
2023-05-11 17:33:14 +02:00
cycleSinks = import ./_cycleSinks.nix { inherit pkgs; };
protonge = import ./_protonge.nix { inherit pkgs; };
share = import ./_share.nix { inherit pkgs; };
sxhkdHelp = import ./_sxhkdHelp.nix { inherit pkgs; };
2022-07-15 13:11:54 +02:00
in
{
2022-10-15 20:00:09 +02:00
options.my.bin.enable = mkEnableOption "bin";
2022-07-15 13:11:54 +02:00
config = mkIf cfg.enable {
environment.systemPackages = [
2022-07-15 13:11:54 +02:00
cycleSinks
protonge
share
sxhkdHelp
];
};
}