summaryrefslogtreecommitdiff
path: root/epistemia
diff options
context:
space:
mode:
authorVineet Kumar <git@vineetk.net>2026-05-23 15:55:05 -0400
committerVineet Kumar <git@vineetk.net>2026-05-23 15:55:05 -0400
commita406115f1babd09be73d4ebe4d0e43b4c48d9022 (patch)
treede2fa3ebdd5a92f849735a2780f9ec8c8d85a507 /epistemia
parentfa5d8d6299e85645f387bf4b7d9d80620fa76ade (diff)
demiurge, hastur: fix xdg-runtime-dir not clearing on boot
causes user herd process and user podman from working on reboot
Diffstat (limited to 'epistemia')
-rw-r--r--epistemia/home/config.scm8
-rw-r--r--epistemia/systems/demiurge.scm7
-rw-r--r--epistemia/systems/hastur.scm7
3 files changed, 12 insertions, 10 deletions
diff --git a/epistemia/home/config.scm b/epistemia/home/config.scm
index 1512b6d..d0856cc 100644
--- a/epistemia/home/config.scm
+++ b/epistemia/home/config.scm
@@ -187,14 +187,6 @@
187 (data-home "$HOME/.local/share") 187 (data-home "$HOME/.local/share")
188 (state-home "$HOME/.local/state") 188 (state-home "$HOME/.local/state")
189 (runtime-dir "$HOME/.local/state/runtime"))) 189 (runtime-dir "$HOME/.local/state/runtime")))
190 (simple-service 'ensure-xdg-runtime-dir
191 home-activation-service-type
192 (with-imported-modules '((guix build utils))
193 #~(begin
194 (use-modules (guix build utils))
195 (let ((runtime-dir (string-append (getenv "HOME") "/.local/state/runtime")))
196 (mkdir-p runtime-dir)
197 (chmod runtime-dir #o700)))))
198 (service home-dbus-service-type) 190 (service home-dbus-service-type)
199 (service home-pipewire-service-type 191 (service home-pipewire-service-type
200 (home-pipewire-configuration 192 (home-pipewire-configuration
diff --git a/epistemia/systems/demiurge.scm b/epistemia/systems/demiurge.scm
index 8ad7337..93488fd 100644
--- a/epistemia/systems/demiurge.scm
+++ b/epistemia/systems/demiurge.scm
@@ -108,7 +108,12 @@
108 (file-system 108 (file-system
109 (device (uuid "F618-FA9F" 'fat)) 109 (device (uuid "F618-FA9F" 'fat))
110 (mount-point "/boot/efi") 110 (mount-point "/boot/efi")
111 (type "vfat"))) 111 (type "vfat"))
112 (file-system
113 (device "none")
114 (mount-point "/home/vin/.local/state/runtime")
115 (type "tmpfs")
116 (options "uid=1000")))
112 %base-file-systems)) 117 %base-file-systems))
113 118
114 (packages (append (list emacs-no-x 119 (packages (append (list emacs-no-x
diff --git a/epistemia/systems/hastur.scm b/epistemia/systems/hastur.scm
index 6d6f2f7..1451e54 100644
--- a/epistemia/systems/hastur.scm
+++ b/epistemia/systems/hastur.scm
@@ -87,7 +87,12 @@
87 (file-system 87 (file-system
88 (device (uuid "85DD-DE6D" 'fat)) 88 (device (uuid "85DD-DE6D" 'fat))
89 (mount-point "/boot/efi") 89 (mount-point "/boot/efi")
90 (type "vfat"))) 90 (type "vfat"))
91 (file-system
92 (device "none")
93 (mount-point "/home/vin/.local/state/runtime")
94 (type "tmpfs")
95 (options "uid=1000")))
91 %base-file-systems)) 96 %base-file-systems))
92 97
93 (swap-devices (list (swap-space (target (uuid "a9f91237-58fe-452a-b4af-cbd281f5b8ce"))))) 98 (swap-devices (list (swap-space (target (uuid "a9f91237-58fe-452a-b4af-cbd281f5b8ce")))))