diff options
| author | Franck <franck@fcuny.net> | 2022-11-07 08:09:25 -0800 |
|---|---|---|
| committer | Franck <franck@fcuny.net> | 2022-11-07 08:09:25 -0800 |
| commit | bb7025da134fef21f4ccafee74a75428b56a27de (patch) | |
| tree | 6e0ff5e7b3ee7367d1fedbf57a407040b8b8ec49 /home/drone-cli/default.nix | |
| parent | ref(home/git): update mapping for the git-helper (diff) | |
| parent | fix(services/drone): enable drone (diff) | |
| download | infra-bb7025da134fef21f4ccafee74a75428b56a27de.tar.gz | |
Merge pull request 'fcuny/ci-drone' (#1) from fcuny/test-woodpecker into main
Reviewed-on: https://git.fcuny.net/fcuny/world/pulls/1
Diffstat (limited to 'home/drone-cli/default.nix')
| -rw-r--r-- | home/drone-cli/default.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/home/drone-cli/default.nix b/home/drone-cli/default.nix new file mode 100644 index 0000000..68173c8 --- /dev/null +++ b/home/drone-cli/default.nix @@ -0,0 +1,12 @@ +{ config, lib, pkgs, ... }: +let cfg = config.my.home.drone-cli; +in +{ + options.my.home.drone-cli = with lib; { + enable = mkEnableOption "drone-cli configuration"; + }; + config = lib.mkIf cfg.enable { + home.packages = with pkgs; [ drone-cli ]; + home.sessionVariables = { DRONE_SERVER = "https://ci.fcuny.net/"; }; + }; +} |
