27 lines
429 B
Nix
27 lines
429 B
Nix
{ 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;
|
|
flags = [ ];
|
|
|
|
settings = {
|
|
dialect = "uk";
|
|
style = "compact";
|
|
inline_height = 40;
|
|
|
|
sync = {
|
|
records = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|