about summary refs log tree commit diff
path: root/home/drone-cli/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/drone-cli/default.nix')
-rw-r--r--home/drone-cli/default.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/home/drone-cli/default.nix b/home/drone-cli/default.nix
new file mode 100644
index 0000000..9eeb2e1
--- /dev/null
+++ b/home/drone-cli/default.nix
@@ -0,0 +1,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/"; };
+  };
+}