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:
parent
b34a6075e9
commit
ef811636cc
2 changed files with 6 additions and 8 deletions
|
@ -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.
|
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue