From a896ca6789a017cd94591cbb222740c833365db1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Thu, 5 Dec 2024 01:12:19 +0100 Subject: [PATCH] Update nixos/common/default.nix Co-authored-by: zowoq <59103226+zowoq@users.noreply.github.com> --- nixos/common/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/common/default.nix b/nixos/common/default.nix index bc6de691..964a9941 100644 --- a/nixos/common/default.nix +++ b/nixos/common/default.nix @@ -22,7 +22,7 @@ # Create users with https://github.com/nikstur/userborn rather than our perl script. # Don't enable if we detect impermanence, which is not compatible with it: https://github.com/nix-community/impermanence/pull/223 - services.userborn.enable = lib.mkIf (options.environment ? persistence) (lib.mkDefault true); + services.userborn.enable = lib.mkIf (!options.environment ? persistence) (lib.mkDefault true); # Use systemd during boot as well except: # - systems with raids as this currently require manual configuration: https://github.com/NixOS/nixpkgs/issues/210210