1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-23 03:19:42 +01:00

Merge branch 'master' into yoga-slim-7

This commit is contained in:
mergify[bot] 2024-01-15 09:46:14 +00:00 committed by GitHub
commit 6b154d0c0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 9 deletions

View file

@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: cachix/install-nix-action@v24 - uses: cachix/install-nix-action@v25
with: with:
nix_path: nixpkgs=channel:nixos-unstable nix_path: nixpkgs=channel:nixos-unstable
- name: Show nixpkgs version - name: Show nixpkgs version

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;
} }