summaryrefslogtreecommitdiff
path: root/dotfiles.org
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles.org')
-rw-r--r--dotfiles.org29
1 files changed, 26 insertions, 3 deletions
diff --git a/dotfiles.org b/dotfiles.org
index b0fc6c4..78e5b03 100644
--- a/dotfiles.org
+++ b/dotfiles.org
@@ -104,10 +104,17 @@ exec i3
* .xonshrc
#+begin_src python :tangle ~/.xonshrc
-# Tell gpg-agent which TTY to use for pinentry prompts
-import subprocess
+import subprocess, shutil
+
$GPG_TTY = $(tty).strip()
subprocess.run(["gpg-connect-agent", "updatestartuptty", "/bye"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
+
+if shutil.which("atuin"):
+ running = subprocess.run(["pgrep", "-x", "atuin"], capture_output=True).returncode == 0
+ if not running:
+ subprocess.Popen(["atuin", "daemon", "start"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, start_new_session=True)
+
+
execx($(atuin init xonsh))
execx($(zoxide init xonsh), 'exec', __xonsh__.ctx, filename='zoxide')
#+end_src
@@ -129,8 +136,24 @@ enabled = true
* ssh
-** authorized_keys
+** =authorized_keys=
#+begin_src conf :tangle ~/.ssh/authorized_keys
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILOwBidfdZzcSEIPSRT0C8U9U55WSES1ugqAKE+nvgQ9 (none)
#+end_src
+
+* gpg setup
+
+** TODO gpg-agent.conf
+
+** TODO sshcontrol
+
+* Tasks
+
+** Services
+
+*** TODO [#C] Unlock disk encryption over SSH
+
+*** Navidrome
+
+*** yggdrasil