diff options
author | Franck Cuny <franck@fcuny.net> | 2022-05-12 13:40:20 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-05-12 13:40:20 -0700 |
commit | 8b95c341a2b17bee657d8c12ecf3390422a6ede5 (patch) | |
tree | 183e3e205e90f1540416ae38fe705849103045cf /home/drone-cli | |
parent | aptos: enable bluetooth (diff) | |
download | world-8b95c341a2b17bee657d8c12ecf3390422a6ede5.tar.gz |
home: set environment variables for drone-cli
Diffstat (limited to '')
-rw-r--r-- | home/drone-cli/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
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/"; }; + }; } |