diff options
Diffstat (limited to 'modules/nixos-hardware/dell/xps/13-7390')
-rw-r--r-- | modules/nixos-hardware/dell/xps/13-7390/README.wiki | 16 | ||||
-rw-r--r-- | modules/nixos-hardware/dell/xps/13-7390/default.nix | 17 |
2 files changed, 33 insertions, 0 deletions
diff --git a/modules/nixos-hardware/dell/xps/13-7390/README.wiki b/modules/nixos-hardware/dell/xps/13-7390/README.wiki new file mode 100644 index 000000000000..6ec37d0f4476 --- /dev/null +++ b/modules/nixos-hardware/dell/xps/13-7390/README.wiki @@ -0,0 +1,16 @@ += Dell XPS 13 7390 = + +== Installation == + +You need to disable RAID and use AHCI instead as described [https://wiki.ubuntu.com/Dell/XPS/XPS-13-7390-2-in-1 here]. + +== Firmware upgrades == + +Note that this device is supported by [https://fwupd.org/ fwupd]. +To perform firmware upgrades just activate the service + +<code> +services.fwupd.enable = true; +</code> + +Then use <code>fwupdmgr</code> to perform updates. diff --git a/modules/nixos-hardware/dell/xps/13-7390/default.nix b/modules/nixos-hardware/dell/xps/13-7390/default.nix new file mode 100644 index 000000000000..1aa0c4bcd3dd --- /dev/null +++ b/modules/nixos-hardware/dell/xps/13-7390/default.nix @@ -0,0 +1,17 @@ +{ lib, pkgs, ... }: + +{ + imports = [ + ../../../common/cpu/intel + ../../../common/pc/laptop + ../../../common/pc/laptop/ssd + ]; + + boot.kernelParams = [ "mem_sleep_default=deep" ]; + + # older version break wifi: + # - https://github.com/NixOS/nixos-hardware/issues/173 + boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.6") pkgs.linuxPackages_latest; + + services.thermald.enable = true; +} |