summaryrefslogtreecommitdiff
path: root/.config/systemd
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@fairlystable.org>2024-09-10 18:25:25 -0700
committerJoe Rayhawk <jrayhawk@fairlystable.org>2024-09-10 18:31:04 -0700
commitaa661ce61b9f3ff83615d4da8b6b782a7bbaa3c4 (patch)
treea54dd6ddcda0992fcec5670787847fbf8e3b4cbb /.config/systemd
downloadjrayhawk-dotfiles-aa661ce61b9f3ff83615d4da8b6b782a7bbaa3c4.tar.gz
jrayhawk-dotfiles-aa661ce61b9f3ff83615d4da8b6b782a7bbaa3c4.zip
Initial gitignore and wlroots session management
Diffstat (limited to '.config/systemd')
l---------.config/systemd/user/default.target.wants/ssh-agent.service1
-rw-r--r--.config/systemd/user/ssh-agent.service12
2 files changed, 13 insertions, 0 deletions
diff --git a/.config/systemd/user/default.target.wants/ssh-agent.service b/.config/systemd/user/default.target.wants/ssh-agent.service
new file mode 120000
index 0000000..fbfd099
--- /dev/null
+++ b/.config/systemd/user/default.target.wants/ssh-agent.service
@@ -0,0 +1 @@
+../ssh-agent.service \ No newline at end of file
diff --git a/.config/systemd/user/ssh-agent.service b/.config/systemd/user/ssh-agent.service
new file mode 100644
index 0000000..baba500
--- /dev/null
+++ b/.config/systemd/user/ssh-agent.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=ssh-agent
+
+[Service]
+Type=simple
+Environment=SSH_AUTH_SOCK=%t/ssh-agent
+Environment=DISPLAY=:0
+ExecStart=/usr/bin/ssh-agent -d -a $SSH_AUTH_SOCK
+
+[Install]
+WantedBy=default.target
+