From 8b95c341a2b17bee657d8c12ecf3390422a6ede5 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 12 May 2022 13:40:20 -0700 Subject: home: set environment variables for drone-cli --- home/drone-cli/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'home') diff --git a/home/drone-cli/default.nix b/home/drone-cli/default.nix index 2d0018b..9eeb2e1 100644 --- a/home/drone-cli/default.nix +++ b/home/drone-cli/default.nix @@ -4,5 +4,8 @@ in { options.my.home.drone-cli = with lib; { enable = mkEnableOption "drone-cli configuration"; }; - config.home.packages = with pkgs; lib.mkIf cfg.enable ([ drone-cli ]); + config = lib.mkIf cfg.enable { + home.packages = with pkgs; [ drone-cli ]; + home.sessionVariables = { DRONE_SERVER = "https://drone.fcuny.xyz/"; }; + }; } -- cgit 1.4.1