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