Testing out Atuin

This commit is contained in:
albert 2024-04-28 13:39:08 +09:00
parent 245a1ec160
commit c9c8ae9a41
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A
6 changed files with 30 additions and 3 deletions

View file

@ -0,0 +1,15 @@
{ ... }: {
programs.atuin = {
enable = true;
enableBashIntegration = true;
enableFishIntegration = true;
enableNushellIntegration = true;
enableZshIntegration = true;
settings = {
auto_sync = true;
sync_frequency = "5m";
sync_address = "framework-server:8888";
search_mode = "prefix";
};
};
}

View file

@ -1,5 +1,6 @@
{ ... }: {
imports = [
imports = [
./atuin.nix
./bash.nix
./btop.nix
./starship.nix

View file

@ -8,6 +8,7 @@
./common/software/cli/btop.nix
./common/software/cli/starship.nix
./common/software/cli/tmux.nix
./common/software/cli/atuin.nix
# User configs
./users/${username}

View file

@ -0,0 +1,9 @@
{ ... }: {
services.atuin = {
enable = true;
port = 8888;
database.createLocally = true;
openRegistration = true;
};
networking.firewall.interfaces.tailscale0.allowedTCPPorts = [ 8888 ];
}

View file

@ -1,4 +1,4 @@
{ config, pkgs, hostname, ... }: {
{ hostname, ... }: {
# enable passwordless elevation
# Useful for deploy-rs
security.pam.enableSSHAgentAuth = true;
@ -56,4 +56,4 @@
--
'';
};
}
}

View file

@ -9,6 +9,7 @@
../../common/modules/ssh-luks.nix
../../common/services/docker.nix
../../common/services/tailscale-autoconnect.nix
../../common/services/atuin.nix
./containers.nix
./disks.nix
./wireguard.nix