atuin: Add module

This commit is contained in:
Erwin Boskma 2023-04-25 09:48:19 +02:00
parent c6bd769f37
commit 60f2b7666c
Signed by: erwin
SSH key fingerprint: SHA256:CyeNoWXd3kjX2Nwu6pDxxdS7OqmPVOy0NavA/KU/ntU

View file

@ -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"
];
};
};
};
}