mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos/systemd-sysusers: remove assertion
This commit is contained in:
parent
447c12c4f0
commit
57e7129b3a
1 changed files with 0 additions and 4 deletions
|
@ -68,10 +68,6 @@ in
|
||||||
assertion = config.system.activationScripts.users == "";
|
assertion = config.system.activationScripts.users == "";
|
||||||
message = "system.activationScripts.users has to be empty to use systemd-sysusers";
|
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
|
] ++ (lib.mapAttrsToList
|
||||||
(username: opts: {
|
(username: opts: {
|
||||||
assertion = !opts.isNormalUser;
|
assertion = !opts.isNormalUser;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue