Disabled users.mutableUsers
conflicts with mutable overlay-based /etc
#311665
Labels
0.kind: bug
Something is broken
6.topic: nixos
Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Describe the bug
The following assertion triggers in a configuration where
users.mutableUsers = false;
andsystem.etc.overlay.mutable = true;
:nixpkgs/nixos/modules/system/etc/etc-activation.nix
Lines 29 to 35 in ee188fb
It should be possible to have a mutable
/etc
while using staticsystemd-sysusers
configuration at the same time.Steps To Reproduce
Steps to reproduce the behavior:
users.mutableUsers
tofalse
system.etc.overlay.mutable
totrue
Expected behavior
The build succeeds.
Notify maintainers
From
git blame
: @niksturMetadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: