diff --git a/nixos/modules/services/system/userborn.nix b/nixos/modules/services/system/userborn.nix index d73bd2646c80..9d97701f391d 100644 --- a/nixos/modules/services/system/userborn.nix +++ b/nixos/modules/services/system/userborn.nix @@ -104,7 +104,7 @@ in inherit (opts) group; }; } - ) (lib.filterAttrs (_username: opts: opts.home != "/var/empty") userCfg.users); + ) (lib.filterAttrs (_username: opts: opts.createHome && opts.home != "/var/empty") userCfg.users); services.userborn = { wantedBy = [ "sysinit.target" ];