about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-05-12 13:40:20 -0700
committerFranck Cuny <franck@fcuny.net>2022-05-12 13:40:20 -0700
commit8b95c341a2b17bee657d8c12ecf3390422a6ede5 (patch)
tree183e3e205e90f1540416ae38fe705849103045cf
parentaptos: enable bluetooth (diff)
downloadworld-8b95c341a2b17bee657d8c12ecf3390422a6ede5.tar.gz
home: set environment variables for drone-cli
Diffstat (limited to '')
-rw-r--r--home/drone-cli/default.nix5
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/"; };
+  };
 }