Testing out Atuin
This commit is contained in:
parent
245a1ec160
commit
c9c8ae9a41
6 changed files with 30 additions and 3 deletions
15
home-manager/common/software/cli/atuin.nix
Normal file
15
home-manager/common/software/cli/atuin.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,5 +1,6 @@
|
|||
{ ... }: {
|
||||
imports = [
|
||||
imports = [
|
||||
./atuin.nix
|
||||
./bash.nix
|
||||
./btop.nix
|
||||
./starship.nix
|
||||
|
|
|
@ -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}
|
||||
|
|
9
nixos/common/services/atuin.nix
Normal file
9
nixos/common/services/atuin.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ ... }: {
|
||||
services.atuin = {
|
||||
enable = true;
|
||||
port = 8888;
|
||||
database.createLocally = true;
|
||||
openRegistration = true;
|
||||
};
|
||||
networking.firewall.interfaces.tailscale0.allowedTCPPorts = [ 8888 ];
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, hostname, ... }: {
|
||||
{ hostname, ... }: {
|
||||
# enable passwordless elevation
|
||||
# Useful for deploy-rs
|
||||
security.pam.enableSSHAgentAuth = true;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue