diff --git a/hosts/pinwheel/modules/atuin/default.nix b/hosts/pinwheel/modules/atuin/default.nix index 1b8054d..6517ea8 100644 --- a/hosts/pinwheel/modules/atuin/default.nix +++ b/hosts/pinwheel/modules/atuin/default.nix @@ -14,15 +14,23 @@ in programs.atuin = { enable = true; enableZshIntegration = true; + flags = [ "--disable-up-arrow" ]; settings = { sync_address = "http://manatee:8889"; auto_sync = true; sync_frequency = "5m"; + key_path = config.age.secrets."atuin-key".path; }; }; programs.fzf.historyWidget.command = ""; }; + + age.secrets."atuin-key" = { + file = ../../../../secrets/pinwheel/atuin-key.age; + owner = "alex"; + group = "users"; + }; }; } diff --git a/secrets/pinwheel/atuin-key.age b/secrets/pinwheel/atuin-key.age new file mode 100644 index 0000000..e0afa0b --- /dev/null +++ b/secrets/pinwheel/atuin-key.age @@ -0,0 +1,8 @@ +age-encryption.org/v1 +-> ssh-ed25519 vxPbZg xeVuL1SvyRUrFnPP6g6yehkR0xgGcyYHvsnLzvqITkw +bxIdf5rSV+Own8tJmB2eqmLh9yYwSdNA1aJgSQzG0+M +-> ssh-ed25519 +oNaHQ GPTODXfrzGkwYrCYtV9lbLkFwa472drSzK979Lpte2k +2l/iJiEiLpRMwJWs+G57mMw+WsQN2qZZVdLSN/f3IIk +--- gHFKxNTWsresoYz5IGZICql5G88TTko6XVfzOo5oO84 +ôÄÑ£6Í%ûo�‰}¦µ>«ÀË ì›;„vÿ7Ôû¬¯X–4™ÒôLÍSÇÖÒ0ÞµôwƒU¡<Ö¹…ªöVŠúi~io«#NÀ•fUò9Äi„©âZw¾ymG¥Ìn<“* +:A \ No newline at end of file diff --git a/secrets/secrets.nix b/secrets/secrets.nix index 1b42089..692abab 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -27,6 +27,7 @@ in { "pinwheel/work-staging-ovpn.age".publicKeys = [ pinwheel alex ]; "pinwheel/work-production-ovpn.age".publicKeys = [ pinwheel alex ]; "pinwheel/naviterm-config.age".publicKeys = [ pinwheel alex ]; + "pinwheel/atuin-key.age".publicKeys = [ pinwheel alex ]; "manatee/root.manatee.age".publicKeys = [ manatee alex ]; "manatee/root.manatee.pub.age".publicKeys = [ manatee alex ];