From 60f2b7666c54e708b1af09541fc7b2aa8f4441f5 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Tue, 25 Apr 2023 09:48:19 +0200 Subject: [PATCH] atuin: Add module --- home-manager/modules/atuin/default.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 home-manager/modules/atuin/default.nix diff --git a/home-manager/modules/atuin/default.nix b/home-manager/modules/atuin/default.nix new file mode 100644 index 0000000..1471c97 --- /dev/null +++ b/home-manager/modules/atuin/default.nix @@ -0,0 +1,21 @@ +{ config, lib, ... }: +with lib; +let + cfg = config.eboskma.programs.atuin; +in +{ + options.eboskma.programs.atuin = { enable = mkEnableOption "atuin"; }; + + config = mkIf cfg.enable { + programs.atuin = { + enable = true; + + settings = { + dialect = "uk"; + flags = [ + "--disable-up-arrow" + ]; + }; + }; + }; +}