From 3b4f1e73befad929cef0562bae0a088af7f6bb97 Mon Sep 17 00:00:00 2001 From: Hadi Date: Wed, 26 Aug 2026 15:48:05 +0200 Subject: [PATCH] fix race Signed-off-by: Hadi --- nixos/autologin.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nixos/autologin.nix b/nixos/autologin.nix index 5955b0b2..2befe63b 100644 --- a/nixos/autologin.nix +++ b/nixos/autologin.nix @@ -24,4 +24,9 @@ security.pam.services.login.enableGnomeKeyring = true; systemd.services.greetd.serviceConfig.KeyringMode = lib.mkForce "shared"; + + systemd.services.greetd = { + after = ["systemd-udevd.service"]; + serviceConfig.ExecStartPre = "${pkgs.systemd}/bin/udevadm settle --timeout=10"; + }; }