dotfiles/modules/config/bin/default.nix

29 lines
578 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; };
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
];
};
}