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 {
|
2023-05-07 13:53:31 +02:00
|
|
|
environment.systemPackages = [
|
2022-07-15 13:11:54 +02:00
|
|
|
cycleSinks
|
|
|
|
protonge
|
|
|
|
share
|
|
|
|
sxhkdHelp
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|