1
0
Fork 0
dotfiles/home/programs/scripts.nix

22 lines
362 B
Nix
Raw Normal View History

{ pkgs, config, lib, ... }:
2022-01-05 09:52:59 +00:00
let
inherit (pkgs.stdenv) isDarwin;
inherit (lib) optionals;
2022-01-05 09:52:59 +00:00
user-bin-directory = "${config.home.homeDirectory}/.bin";
in
{
home.packages = with pkgs; [
nvd
] ++ optionals isDarwin [
cliclick
];
2022-01-05 09:52:59 +00:00
home.file."${user-bin-directory}" = {
source = ./scripts;
recursive = true;
executable = true;
};
}