From f98a6ffe7353fad1fda2f59ef79decf17c1c4f2c Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 2 May 2022 18:09:26 -0700 Subject: home: install the drone CLI --- home/default.nix | 1 + home/drone-cli/default.nix | 8 ++++++++ profiles/desktop/default.nix | 1 + 3 files changed, 10 insertions(+) create mode 100644 home/drone-cli/default.nix diff --git a/home/default.nix b/home/default.nix index 1f0dd9c..3cdce3c 100644 --- a/home/default.nix +++ b/home/default.nix @@ -5,6 +5,7 @@ ./beets ./direnv ./documentation + ./drone-cli ./element ./emacs ./eog diff --git a/home/drone-cli/default.nix b/home/drone-cli/default.nix new file mode 100644 index 0000000..2d0018b --- /dev/null +++ b/home/drone-cli/default.nix @@ -0,0 +1,8 @@ +{ config, lib, pkgs, ... }: +let cfg = config.my.home.drone-cli; +in { + options.my.home.drone-cli = with lib; { + enable = mkEnableOption "drone-cli configuration"; + }; + config.home.packages = with pkgs; lib.mkIf cfg.enable ([ drone-cli ]); +} diff --git a/profiles/desktop/default.nix b/profiles/desktop/default.nix index 2f3b26e..c0c4a9f 100644 --- a/profiles/desktop/default.nix +++ b/profiles/desktop/default.nix @@ -15,6 +15,7 @@ in { home = { emacs.enable = true; direnv.enable = true; + drone-cli.enable = true; firefox.enable = true; pcmanfm.enable = true; terminal.program = "alacritty"; -- cgit 1.4.1