1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-26 21:09:42 +01:00

Add fwupd to Dell XPS 13 7390 config

This commit is contained in:
Lena Fuhrimann 2024-01-13 12:58:05 +01:00 committed by mergify[bot]
parent b34a6075e9
commit ef811636cc
2 changed files with 6 additions and 8 deletions

View file

@ -17,10 +17,4 @@ to your <code>configuration.nix</code> if you cannot wake from "Sleep". See refe
== Firmware upgrades == == Firmware upgrades ==
Note that this device is supported by [https://fwupd.org/ fwupd]. Note that this device is supported by [https://fwupd.org/ fwupd].
To perform firmware upgrades just activate the service To perform updates, simply use <code>fwupdmgr</code>.
<code>
services.fwupd.enable = true;
</code>
Then use <code>fwupdmgr</code> to perform updates.

View file

@ -13,5 +13,9 @@
# - https://github.com/NixOS/nixos-hardware/issues/173 # - https://github.com/NixOS/nixos-hardware/issues/173
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.6") pkgs.linuxPackages_latest; boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.6") pkgs.linuxPackages_latest;
services.thermald.enable = true; # Cooling management
services.thermald.enable = lib.mkDefault true;
# Allows for updating firmware via `fwupdmgr`.
services.fwupd.enable = lib.mkDefault true;
} }