From b65ca233461891d368163dd6ba7d0fc3287f3d00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Sat, 20 Jul 2024 17:32:00 +0200 Subject: [PATCH] [fix] libra: switch to upstream nixos-hardware There is now a module for the TUXEDO Pulse 14 - Gen 3: https://github.com/NixOS/nixos-hardware/tree/master/tuxedo/pulse/14/gen3 --- machines/libra/default.nix | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/machines/libra/default.nix b/machines/libra/default.nix index 016b224..16ee68f 100644 --- a/machines/libra/default.nix +++ b/machines/libra/default.nix @@ -2,16 +2,11 @@ # your system. Help is available in the configuration.nix(5) man page, on # https://search.nixos.org/options and in the NixOS manual (`nixos-help`). { nixos-hardware }: -{ pkgs, ... }: { imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix - nixos-hardware.nixosModules.common-pc-laptop - nixos-hardware.nixosModules.common-pc-laptop-ssd - # nixos-hardware.nixosModules.common-cpu-amd-pstate - nixos-hardware.nixosModules.common-cpu-amd-raphael-igpu # not working? - nixos-hardware.nixosModules.common-gpu-amd + nixos-hardware.nixosModules.tuxedo-pulse-14-gen3 ]; fileSystems = { @@ -23,8 +18,6 @@ ]; }; boot = { - kernelPackages = pkgs.linuxPackages_latest; - kernelParams = [ "amdgpu.dcdebugmask=0x10" ]; loader = { # Use the systemd-boot EFI boot loader. timeout = 0; # Press Space to show the menu