2022-08-02 18:48:28 +00:00
|
|
|
{ pkgs, config, lib, ... }:
|
2022-01-05 09:52:59 +00:00
|
|
|
|
|
|
|
let
|
2022-08-02 18:48:28 +00:00
|
|
|
inherit (pkgs.stdenv) isDarwin;
|
|
|
|
inherit (lib) optionals;
|
|
|
|
|
2022-01-05 09:52:59 +00:00
|
|
|
user-bin-directory = "${config.home.homeDirectory}/.bin";
|
|
|
|
in
|
|
|
|
{
|
2022-08-02 18:48:28 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|