summaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/systemd/user
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/systemd/user')
-rw-r--r--dot_config/systemd/user/gpg-agent.service.d/canonical.conf.tmpl3
-rw-r--r--dot_config/systemd/user/podman.service.tmpl9
-rw-r--r--dot_config/systemd/user/podman.socket9
3 files changed, 21 insertions, 0 deletions
diff --git a/dot_config/systemd/user/gpg-agent.service.d/canonical.conf.tmpl b/dot_config/systemd/user/gpg-agent.service.d/canonical.conf.tmpl
new file mode 100644
index 0000000..34557b4
--- /dev/null
+++ b/dot_config/systemd/user/gpg-agent.service.d/canonical.conf.tmpl
@@ -0,0 +1,3 @@
+[Service]
+ExecStart=
+ExecStart="{{ .chezmoi.homeDir }}/.nix-profile/bin/gpg-agent" --supervised
diff --git a/dot_config/systemd/user/podman.service.tmpl b/dot_config/systemd/user/podman.service.tmpl
new file mode 100644
index 0000000..f104bd9
--- /dev/null
+++ b/dot_config/systemd/user/podman.service.tmpl
@@ -0,0 +1,9 @@
+[Unit]
+Description=Rootless Podman API
+Requires=podman.socket
+After=podman.socket
+
+[Service]
+Type=exec
+ExecStart="{{ .chezmoi.homeDir }}/.nix-profile/bin/podman" system service
+KillMode=process
diff --git a/dot_config/systemd/user/podman.socket b/dot_config/systemd/user/podman.socket
new file mode 100644
index 0000000..9d17f3b
--- /dev/null
+++ b/dot_config/systemd/user/podman.socket
@@ -0,0 +1,9 @@
+[Unit]
+Description=Rootless Podman API socket
+
+[Socket]
+ListenStream=%t/podman/podman.sock
+SocketMode=0600
+
+[Install]
+WantedBy=sockets.target