atuin: Add module
This commit is contained in:
parent
c6bd769f37
commit
60f2b7666c
1 changed files with 21 additions and 0 deletions
21
home-manager/modules/atuin/default.nix
Normal file
21
home-manager/modules/atuin/default.nix
Normal 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"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue