diff options
author | Franck Cuny <franck@fcuny.net> | 2022-11-05 12:47:02 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-11-05 12:47:02 -0700 |
commit | 5f40c7a5b0cb555f64231d18cf105bf0ec7eb0a2 (patch) | |
tree | 437fb6409e166cc64947d754458f2544502275dd /home/drone-cli | |
parent | ref(home/git): update mapping for the git-helper (diff) | |
download | world-5f40c7a5b0cb555f64231d18cf105bf0ec7eb0a2.tar.gz |
Revert "ref(drone): remove all modules and configurations"
This reverts commit 614fc2fcce0e9ae0bcfdc6e08d3c4bac846d02a8.
Diffstat (limited to 'home/drone-cli')
-rw-r--r-- | home/drone-cli/default.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/home/drone-cli/default.nix b/home/drone-cli/default.nix new file mode 100644 index 0000000..948e88a --- /dev/null +++ b/home/drone-cli/default.nix @@ -0,0 +1,12 @@ +{ 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/"; }; + }; +} |