From 57e7129b3a156858a37c94b2af3fda2634d9aaac Mon Sep 17 00:00:00 2001 From: nikstur Date: Mon, 5 Aug 2024 16:24:47 +0200 Subject: [PATCH] nixos/systemd-sysusers: remove assertion --- nixos/modules/system/boot/systemd/sysusers.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nixos/modules/system/boot/systemd/sysusers.nix b/nixos/modules/system/boot/systemd/sysusers.nix index 9dfbcb65326e..e3dfe52e741b 100644 --- a/nixos/modules/system/boot/systemd/sysusers.nix +++ b/nixos/modules/system/boot/systemd/sysusers.nix @@ -68,10 +68,6 @@ in assertion = config.system.activationScripts.users == ""; message = "system.activationScripts.users has to be empty to use systemd-sysusers"; } - { - assertion = config.users.mutableUsers -> config.system.etc.overlay.enable; - message = "config.users.mutableUsers requires config.system.etc.overlay.enable."; - } ] ++ (lib.mapAttrsToList (username: opts: { assertion = !opts.isNormalUser;