[fix] libra: switch to upstream nixos-hardware #31

Merged
jalil merged 1 commit from fix-libra into main 2024-07-20 17:38:15 +02:00
Showing only changes of commit b65ca23346 - Show all commits

View file

@ -2,16 +2,11 @@
# your system. Help is available in the configuration.nix(5) man page, on # 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`). # https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{ nixos-hardware }: { nixos-hardware }:
{ pkgs, ... }:
{ {
imports = [ imports = [
# Include the results of the hardware scan. # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
nixos-hardware.nixosModules.common-pc-laptop nixos-hardware.nixosModules.tuxedo-pulse-14-gen3
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
]; ];
fileSystems = { fileSystems = {
@ -23,8 +18,6 @@
]; ];
}; };
boot = { boot = {
kernelPackages = pkgs.linuxPackages_latest;
kernelParams = [ "amdgpu.dcdebugmask=0x10" ];
loader = { loader = {
# Use the systemd-boot EFI boot loader. # Use the systemd-boot EFI boot loader.
timeout = 0; # Press Space to show the menu timeout = 0; # Press Space to show the menu