Skip to content

Commit

Permalink
Integrate atuin without server sync
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Aug 10, 2023
1 parent 4387b17 commit 13f9da0
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions home-manager/bash.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
programs.zoxide.enableBashIntegration = true;
programs.fzf.enableBashIntegration = true;
programs.rtx.enableBashIntegration = true;
programs.atuin.enableBashIntegration = true;

# Used only in bash - https://unix.stackexchange.com/a/689403
# https://github.com/nix-community/home-manager/blob/master/modules/programs/readline.nix
Expand Down
1 change: 1 addition & 0 deletions home-manager/fish.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
programs.zoxide.enableFishIntegration = true;
programs.fzf.enableFishIntegration = true;
programs.rtx.enableFishIntegration = true;
programs.atuin.enableFishIntegration = true;

xdg.configFile."fish/fish_variables".source = ../home/.config/fish/fish_variables;
xdg.configFile."fish/functions/fish_prompt.fish".source = ../home/.config/fish/functions/fish_prompt.fish;
Expand Down
9 changes: 9 additions & 0 deletions home-manager/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,13 @@

# https://github.com/nix-community/home-manager/blob/master/modules/programs/rtx.nix
programs.rtx.enable = true;

# https://github.com/nix-community/home-manager/blob/master/modules/programs/atuin.nix
programs.atuin = {
enable = true;

settings = {
sync_address = "https://127.0.0.1";
};
};
}
1 change: 1 addition & 0 deletions home-manager/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
direnv
zoxide
fzf
atuin

# Used in anywhere
coreutils
Expand Down
1 change: 1 addition & 0 deletions home-manager/zsh.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
programs.zoxide.enableZshIntegration = true;
programs.fzf.enableZshIntegration = true;
programs.rtx.enableZshIntegration = true;
programs.atuin.enableZshIntegration = true;

# https://nixos.wiki/wiki/Zsh
# https://github.com/nix-community/home-manager/blob/master/modules/programs/zsh.nix
Expand Down

0 comments on commit 13f9da0

Please sign in to comment.