From 39e3ac3ccd1efa59cfef345ef1e6d19bf4e57821 Mon Sep 17 00:00:00 2001 From: Ophestra Umiker Date: Sat, 7 Dec 2024 21:07:57 +0900 Subject: [PATCH] nix: require /etc/userdb nix-daemon There seems to be some kind of credential caching in nix-daemon. Signed-off-by: Ophestra Umiker --- nixos.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos.nix b/nixos.nix index b6521ec..2009c96 100644 --- a/nixos.nix +++ b/nixos.nix @@ -53,6 +53,8 @@ in ''; }; + systemd.services.nix-daemon.unitConfig.RequiresMountsFor = [ "/etc/userdb" ]; + services.userdbd.enable = mkDefault true; home-manager =