diff --git a/README.md b/README.md index 5da1f79..e2e8c42 100644 --- a/README.md +++ b/README.md @@ -96,6 +96,7 @@ See code for all available configurations. | [Dell Latitude 7430](dell/latitude/7430) | `` | | [Dell Latitude 7490](dell/latitude/7490) | `` | | [Dell Poweredge R7515](dell/poweredge/r7515) | `` | +| [Dell Precision 3541](dell/precision/3541) | `` | | [Dell Precision 5530](dell/precision/5530) | `` | | [Dell XPS 13 7390](dell/xps/13-7390) | `` | | [Dell XPS 13 9300](dell/xps/13-9300) | `` | diff --git a/dell/precision/3541/default.nix b/dell/precision/3541/default.nix new file mode 100644 index 0000000..0dc2d74 --- /dev/null +++ b/dell/precision/3541/default.nix @@ -0,0 +1,28 @@ +{ lib, ... }: + +{ + imports = [ + ./intel + ]; + + # Boot loader + boot.kernelParams = [ + # fix lspci hanging with nouveau + # source https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1803179/comments/149 + "acpi_rev_override=1" + "acpi_osi=Linux" + "nouveau.modeset=0" + "pcie_aspm=force" + "drm.vblankoffdelay=1" + "nouveau.runpm=0" + "mem_sleep_default=deep" + # fix flicker + # source https://wiki.archlinux.org/index.php/Intel_graphics#Screen_flickering + "i915.enable_psr=0" + ]; + + boot.kernelModules = lib.mkDefault [ "kvm-intel" ]; + + # Recommended in NixOS/nixos-hardware#127 + services.thermald.enable = lib.mkDefault true; +} diff --git a/dell/precision/3541/intel/default.nix b/dell/precision/3541/intel/default.nix new file mode 100644 index 0000000..78a839d --- /dev/null +++ b/dell/precision/3541/intel/default.nix @@ -0,0 +1,9 @@ +{ lib, pkgs, ... }: + +{ + imports = [ + ../../../../common/cpu/intel + ../../../../common/pc/laptop + ../../../../common/gpu/nvidia/disable.nix + ]; +}