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; };
|
|
|
|
randomWallpaper = import ./randomWallpaper.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 = with pkgs; [
|
|
|
|
cycleSinks
|
|
|
|
protonge
|
|
|
|
randomWallpaper
|
|
|
|
share
|
|
|
|
sxhkdHelp
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|