From 00a2175c614549b5d9dde18d027127e5fdcbdad1 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Mon, 8 Jul 2024 13:27:30 +0000 Subject: [PATCH] home: atuin: add 'package' option --- modules/home/atuin/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/home/atuin/default.nix b/modules/home/atuin/default.nix index b8973cc..cba4dfa 100644 --- a/modules/home/atuin/default.nix +++ b/modules/home/atuin/default.nix @@ -5,11 +5,15 @@ in { options.my.home.atuin = with lib; { enable = my.mkDisableOption "atuin configuration"; + + # I want the full experience by default + package = mkPackageOption pkgs "atuin" { }; }; config = lib.mkIf cfg.enable { programs.atuin = { enable = true; + inherit (cfg) package; flags = [ # I *despise* this hijacking of the up key, even though I use Ctrl-p