about summary refs log tree commit diff
path: root/home/drone-cli/default.nix
blob: 68173c8f0b0d7182871ca3165cff828ac6289dc8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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/"; };
  };
}