diff options
Diffstat (limited to 'system-profiles/core')
-rw-r--r-- | system-profiles/core/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/system-profiles/core/default.nix b/system-profiles/core/default.nix index 3d3ef117..e7e70eb9 100644 --- a/system-profiles/core/default.nix +++ b/system-profiles/core/default.nix | |||
@@ -214,11 +214,13 @@ in { | |||
214 | ++ (optional (options ? services.userborn) { | 214 | ++ (optional (options ? services.userborn) { |
215 | services.userborn.enable = lib.mkDefault true; | 215 | services.userborn.enable = lib.mkDefault true; |
216 | }) | 216 | }) |
217 | ++ (optional (!(options ? services.userborn) && (options ? system.etc)) { | ||
218 | systemd.sysusers.enable = lib.mkDefault true; | ||
219 | }) | ||
217 | ++ (optional (options ? system.etc) { | 220 | ++ (optional (options ? system.etc) { |
218 | boot.initrd.systemd.enable = lib.mkDefault true; | 221 | boot.initrd.systemd.enable = lib.mkDefault true; |
219 | system.etc.overlay.enable = lib.mkDefault true; | 222 | system.etc.overlay.enable = lib.mkDefault true; |
220 | system.etc.overlay.mutable = lib.mkDefault (!config.systemd.sysusers.enable); | 223 | system.etc.overlay.mutable = lib.mkDefault (!config.systemd.sysusers.enable); |
221 | systemd.sysusers.enable = lib.mkDefault true; | ||
222 | 224 | ||
223 | # Random perl remnants | 225 | # Random perl remnants |
224 | system.disableInstallerTools = lib.mkDefault true; | 226 | system.disableInstallerTools = lib.mkDefault true; |