diff --git a/nixos/modules/profiles/installation-device.nix b/nixos/modules/profiles/installation-device.nix index 7e22d4b6b684..a4e5a4aac790 100644 --- a/nixos/modules/profiles/installation-device.nix +++ b/nixos/modules/profiles/installation-device.nix @@ -74,8 +74,8 @@ with lib; # installation device for head-less systems i.e. arm boards by manually # mounting the storage in a different system. services.openssh = { - enable = true; - settings.PermitRootLogin = "yes"; + enable = mkDefault true; + settings.PermitRootLogin = mkDefault "yes"; }; # Enable wpa_supplicant, but don't start it by default.