Skip to content

Commit a896ca6

Browse files
Mic92zowoq
andauthored
Update nixos/common/default.nix
Co-authored-by: zowoq <[email protected]>
1 parent 04d6a72 commit a896ca6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nixos/common/default.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
# Create users with https://github.com/nikstur/userborn rather than our perl script.
2424
# Don't enable if we detect impermanence, which is not compatible with it: https://github.com/nix-community/impermanence/pull/223
25-
services.userborn.enable = lib.mkIf (options.environment ? persistence) (lib.mkDefault true);
25+
services.userborn.enable = lib.mkIf (!options.environment ? persistence) (lib.mkDefault true);
2626

2727
# Use systemd during boot as well except:
2828
# - systems with raids as this currently require manual configuration: https://github.com/NixOS/nixpkgs/issues/210210

0 commit comments

Comments
 (0)