dotfiles/modules/config/bin/default.nix

27 lines
477 B
Nix
Raw Normal View History

2022-07-15 13:11:54 +02:00
{ config
, lib
, pkgs
, ...
}:
with lib;
let
cfg = config.my.bin;
cycleSinks = import ./cycleSinks.nix { inherit pkgs; };
protonge = import ./protonge.nix { inherit pkgs; };
share = import ./share.nix { inherit pkgs; };
sxhkdHelp = import ./sxhkdHelp.nix { inherit pkgs; };
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
];
};
}