From 7c8b55034a7e09f97aae1cb93745241b27672c17 Mon Sep 17 00:00:00 2001 From: Damien Date: Wed, 9 Sep 2026 09:33:03 +0200 Subject: [PATCH] fix conflit autologinUser (mkForce) --- installer/installer-base.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/installer/installer-base.nix b/installer/installer-base.nix index dd4e190..5680aa9 100644 --- a/installer/installer-base.nix +++ b/installer/installer-base.nix @@ -34,7 +34,10 @@ in # Root autologin sur tty1, l'installeur se lance automatiquement au # login. S'il échoue ou qu'on le quitte, on retombe sur un shell root # normal pour dépanner à la main — pas de piège sans issue. - services.getty.autologinUser = "root"; + # mkForce : le profil installeur officiel (installation-device.nix) + # définit aussi cette option (autologin "nixos"), même priorité que la + # nôtre sans mkForce -> conflit sinon. + services.getty.autologinUser = lib.mkForce "root"; users.users.root.password = lib.mkForce ""; environment.etc."profile.d/00-fleet-installer.sh".text = ''