26 lines
477 B
Nix
26 lines
477 B
Nix
{ 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
|
|
{
|
|
options.my.bin.enable = mkEnableOption "bin";
|
|
|
|
config = mkIf cfg.enable {
|
|
environment.systemPackages = [
|
|
cycleSinks
|
|
protonge
|
|
share
|
|
sxhkdHelp
|
|
];
|
|
};
|
|
}
|