guixsd-config

GuixSD configs for my systems
Log | Files | Refs

commit a406115f1babd09be73d4ebe4d0e43b4c48d9022
parent fa5d8d6299e85645f387bf4b7d9d80620fa76ade
Author: Vineet Kumar <git@vineetk.net>
Date:   Sat, 23 May 2026 15:55:05 -0400

demiurge, hastur: fix xdg-runtime-dir not clearing on boot

causes user herd process and user podman from working on reboot

Diffstat:
Mepistemia/home/config.scm | 8--------
Mepistemia/systems/demiurge.scm | 7++++++-
Mepistemia/systems/hastur.scm | 7++++++-
3 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/epistemia/home/config.scm b/epistemia/home/config.scm @@ -187,14 +187,6 @@ (data-home "$HOME/.local/share") (state-home "$HOME/.local/state") (runtime-dir "$HOME/.local/state/runtime"))) - (simple-service 'ensure-xdg-runtime-dir - home-activation-service-type - (with-imported-modules '((guix build utils)) - #~(begin - (use-modules (guix build utils)) - (let ((runtime-dir (string-append (getenv "HOME") "/.local/state/runtime"))) - (mkdir-p runtime-dir) - (chmod runtime-dir #o700))))) (service home-dbus-service-type) (service home-pipewire-service-type (home-pipewire-configuration diff --git a/epistemia/systems/demiurge.scm b/epistemia/systems/demiurge.scm @@ -108,7 +108,12 @@ (file-system (device (uuid "F618-FA9F" 'fat)) (mount-point "/boot/efi") - (type "vfat"))) + (type "vfat")) + (file-system + (device "none") + (mount-point "/home/vin/.local/state/runtime") + (type "tmpfs") + (options "uid=1000"))) %base-file-systems)) (packages (append (list emacs-no-x diff --git a/epistemia/systems/hastur.scm b/epistemia/systems/hastur.scm @@ -87,7 +87,12 @@ (file-system (device (uuid "85DD-DE6D" 'fat)) (mount-point "/boot/efi") - (type "vfat"))) + (type "vfat")) + (file-system + (device "none") + (mount-point "/home/vin/.local/state/runtime") + (type "tmpfs") + (options "uid=1000"))) %base-file-systems)) (swap-devices (list (swap-space (target (uuid "a9f91237-58fe-452a-b4af-cbd281f5b8ce")))))