fix: change dn-pre7780 drivers

This commit is contained in:
danny 2025-10-16 19:45:12 +08:00
parent dfda745829
commit fc9b14e0d2
6 changed files with 111 additions and 346 deletions

View file

@ -3,7 +3,7 @@
...
}:
{
boot.kernelPackages = pkgs.linuxPackages_cachyos;
boot.kernelPackages = pkgs.linuxPackages_latest;
fileSystems."/mnt/ssd" = {
device = "/dev/disk/by-label/DN-SSD";

View file

@ -1,7 +1,3 @@
{ lib, config, ... }:
let
inherit (lib) mkForce;
in
{
imports = [
(import ../../../modules/nvidia.nix {
@ -10,7 +6,4 @@ in
nvidia-bus-id = "PCI:1:0:0";
})
];
hardware.nvidia.package = mkForce config.boot.kernelPackages.nvidiaPackages.latest;
hardware.nvidia.open = mkForce true;
}

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, lib, ... }:
let
memeSelector = pkgs.callPackage ../../../../../home/scripts/memeSelector.nix {
url = "https://nextcloud.net.dn/public.php/dav/files/pygHoPB5LxDZbeY/";
@ -11,6 +11,7 @@ in
wayland.windowManager.hyprland = {
settings = {
debug.disable_logs = lib.mkForce false;
misc = {
vrr = 0;
};