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
|
./bash.nix
|
||||||
./btop.nix
|
./btop.nix
|
||||||
./starship.nix
|
./starship.nix
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
./common/software/cli/btop.nix
|
./common/software/cli/btop.nix
|
||||||
./common/software/cli/starship.nix
|
./common/software/cli/starship.nix
|
||||||
./common/software/cli/tmux.nix
|
./common/software/cli/tmux.nix
|
||||||
|
./common/software/cli/atuin.nix
|
||||||
|
|
||||||
# User configs
|
# User configs
|
||||||
./users/${username}
|
./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
|
# enable passwordless elevation
|
||||||
# Useful for deploy-rs
|
# Useful for deploy-rs
|
||||||
security.pam.enableSSHAgentAuth = true;
|
security.pam.enableSSHAgentAuth = true;
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
../../common/modules/ssh-luks.nix
|
../../common/modules/ssh-luks.nix
|
||||||
../../common/services/docker.nix
|
../../common/services/docker.nix
|
||||||
../../common/services/tailscale-autoconnect.nix
|
../../common/services/tailscale-autoconnect.nix
|
||||||
|
../../common/services/atuin.nix
|
||||||
./containers.nix
|
./containers.nix
|
||||||
./disks.nix
|
./disks.nix
|
||||||
./wireguard.nix
|
./wireguard.nix
|
||||||
|
|
Loading…
Reference in a new issue