Merge pull request #186695 from amarshall/installer-no-mkforce

nixos/installer: mkForce -> mkImageMediaOverride
This commit is contained in:
Christian Kögler 2022-09-09 17:32:17 +02:00 committed by GitHub
commit b3c8810040
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -26,7 +26,7 @@ with lib;
# Provide networkmanager for easy wireless configuration.
networking.networkmanager.enable = true;
networking.wireless.enable = mkForce false;
networking.wireless.enable = mkImageMediaOverride false;
# KDE complains if power management is disabled (to be precise, if
# there is no power management backend such as upower).

View file

@ -22,10 +22,10 @@ with lib;
config = {
# Enable in installer, even if the minimal profile disables it.
documentation.enable = mkForce true;
documentation.enable = mkImageMediaOverride true;
# Show the manual.
documentation.nixos.enable = mkForce true;
documentation.nixos.enable = mkImageMediaOverride true;
# Use less privileged nixos user
users.users.nixos = {
@ -41,7 +41,7 @@ with lib;
# Allow passwordless sudo from nixos user
security.sudo = {
enable = mkDefault true;
wheelNeedsPassword = mkForce false;
wheelNeedsPassword = mkImageMediaOverride false;
};
# Automatically log in at the virtual consoles.