nixos/modules/home/shell/atuin/default.nix

22 lines
437 B
Nix
Raw Normal View History

2024-05-25 00:37:37 +02:00
{ config, pkgs, lib, ... }:
with lib;
let
2024-05-27 22:23:32 +02:00
cfg = config.homeModules.shell.atuin;
2024-05-25 00:37:37 +02:00
in
{
2024-05-27 22:23:32 +02:00
options.homeModules.shell.atuin = {
2024-05-25 00:37:37 +02:00
enable = mkEnableOption ''
Enable atuin with my custom configurations
'';
};
config = mkIf cfg.enable {
programs.atuin = {
enable = true;
settings = {
# Uncomment this to use your instance
# sync_address = "https://majiy00-shell.fly.dev";
};
};
};
}