diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 782cde3..2f01e7f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: cachix/install-nix-action@v24 + - uses: cachix/install-nix-action@v25 with: nix_path: nixpkgs=channel:nixos-unstable - name: Show nixpkgs version diff --git a/dell/xps/13-7390/README.wiki b/dell/xps/13-7390/README.wiki index 64b8af6..c16f342 100644 --- a/dell/xps/13-7390/README.wiki +++ b/dell/xps/13-7390/README.wiki @@ -17,10 +17,4 @@ to your configuration.nix if you cannot wake from "Sleep". See refe == Firmware upgrades == Note that this device is supported by [https://fwupd.org/ fwupd]. -To perform firmware upgrades just activate the service - - -services.fwupd.enable = true; - - -Then use fwupdmgr to perform updates. +To perform updates, simply use fwupdmgr. diff --git a/dell/xps/13-7390/default.nix b/dell/xps/13-7390/default.nix index 1aa0c4b..1f1c456 100644 --- a/dell/xps/13-7390/default.nix +++ b/dell/xps/13-7390/default.nix @@ -13,5 +13,9 @@ # - 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; + # Cooling management + services.thermald.enable = lib.mkDefault true; + + # Allows for updating firmware via `fwupdmgr`. + services.fwupd.enable = lib.mkDefault true; }