+2
nixos/doc/manual/release-notes/rl-2505.section.md
+2
nixos/doc/manual/release-notes/rl-2505.section.md
···+- A toggle has been added under `users.users.<name>.enable` to allow toggling individual users conditionally. If set to false, the user account will not be created.- `ddclient` was updated from 3.11.2 to 4.0.0 [Release notes](https://github.com/ddclient/ddclient/releases/tag/v4.0.0)
+11
-1
nixos/modules/config/users-groups.nix
+11
-1
nixos/modules/config/users-groups.nix
···+If set to false, the user account will not be created. This is useful for when you wish to conditionallyapply = x: assert (stringLength x < 32 || abort "Username '${x}' is longer than 31 characters which is not allowed!"); x;···
+18
-11
nixos/modules/services/system/userborn.nix
+18
-11
nixos/modules/services/system/userborn.nix
······-) (lib.filterAttrs (_username: opts: opts.createHome && opts.home != "/var/empty") userCfg.users);
+1
nixos/tests/all-tests.nix
+1
nixos/tests/all-tests.nix
···
+82
nixos/tests/user-enable-option.nix
+82
nixos/tests/user-enable-option.nix
···
+9
nixos/tests/userborn.nix
+9
nixos/tests/userborn.nix
······assert 1000 > int(machine.succeed("id --user sysuser")), "sysuser user doesn't have a system UID"assert "${sysuserInitialHashedPassword}" in machine.succeed("getent shadow sysuser"), "system user password is not correct"