Skip to content

Added Dell Precision 5570 #1535

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fidgetingbits
Copy link
Contributor

Description of changes

Add support for Dell Precision 5570

Things done
  • Tested the changes in your own NixOS Configuration
  • Tested the changes end-to-end by using your fork of nixos-hardware and
    importing it via <nixos-hardware> or Flake input

VDPAU_DRIVER = lib.mkIf config.hardware.opengl.enable (lib.mkOverride 990 "nvidia");
};

hardware.enableRedistributableFirmware = lib.mkDefault true;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We already do this in the undetected profile in nixos-generate-config:

Suggested change
hardware.enableRedistributableFirmware = lib.mkDefault true;

nvidiaBusId = "PCI:1:0:0";
};
};
hardware.graphics.enable = lib.mkDefault true;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might be worth considering enabling this on all laptops, but than we should do this consistently and not in some modules only:

Suggested change
hardware.graphics.enable = lib.mkDefault true;


hardware.enableRedistributableFirmware = lib.mkDefault true;
services.thermald.enable = lib.mkDefault true;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We no longer do set those in nixpkgs, so maybe we shouldn't set it in nixos-hardware either: NixOS/nixpkgs@fb602e5

Suggested change
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";

Comment on lines +21 to +29
boot.initrd.availableKernelModules = [
"xhci_pci"
"thunderbolt"
"vmd"
"nvme"
"usb_storage"
"rtsx_pci_sdmmc"
];
boot.kernelModules = [ "kvm-intel" ];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nixos-generate-config already generates those:

Suggested change
boot.initrd.availableKernelModules = [
"xhci_pci"
"thunderbolt"
"vmd"
"nvme"
"usb_storage"
"rtsx_pci_sdmmc"
];
boot.kernelModules = [ "kvm-intel" ];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants