From 8651ab7d4d794604b937906cd65dc1344cd16233 Mon Sep 17 00:00:00 2001 From: Arian van Putten Date: Fri, 16 Jan 2026 21:43:11 +0100 Subject: [PATCH] nixos/systemd/tmpfiles: add credstore.conf This creates the /{etc,run}/credstore{,.encrypted} directories from which ImportCredential= picks up credentials --- nixos/modules/system/boot/systemd/tmpfiles.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/system/boot/systemd/tmpfiles.nix b/nixos/modules/system/boot/systemd/tmpfiles.nix index c606ff1ac50b..631a02645d9b 100644 --- a/nixos/modules/system/boot/systemd/tmpfiles.nix +++ b/nixos/modules/system/boot/systemd/tmpfiles.nix @@ -317,6 +317,7 @@ in mkdir -p $out/lib/tmpfiles.d cd $out/lib/tmpfiles.d + ln -s "${systemd}/example/tmpfiles.d/credstore.conf" ln -s "${systemd}/example/tmpfiles.d/home.conf" ln -s "${systemd}/example/tmpfiles.d/journal-nocow.conf" ln -s "${systemd}/example/tmpfiles.d/portables.conf"