I have a Packard Bell EasyNote LV11HC with NixOS currently as my main laptop(no PC yet) with GeForce 710M as it’s dedicated GPU. It being as old as it is, requires me to use proprietary NVIDIA drivers to function properly in games and Wayland (Plasma KWin and Hyprland). Recently, I flake-fied the system so I can try and get drivers on the system.
this is my hardware config, and configuration dotfile (I am terribly sorry, github can’t load the verification page for whatever reason)
hardware config
hardware_shid.nix
{ config, pkgs, … }:
{
nixpkgs.config.allowBroken = true;
nixpkgs.config.permittedInsecurePackages = [ “ventoy-1.1.07” ];
networking.networkmanager.enable = true;
boot.extraModulePackages = with config.boot.kernelPackages; [ amneziawg ];
boot.loader = {
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = “/boot/efi”;
};
grub = {
enable = true;
efiSupport = true;
device = “nodev”;
};
};
services.desktopManager.plasma6.enable = true;
services.displayManager.ly.enable = true;
services.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
};
programs.firefox.enable = true;
nixpkgs.config.allowUnfree = true;
nixpkgs.config.nvidia.acceptLicense = true;
ИСПРАВЛЕННЫЙ БЛОК NVIDIA - УБИРАЕМ POWER MANAGEMENT
hardware.nvidia = {
package = config.boot.kernelPackages.nvidiaPackages.legacy_390;
modesetting.enable = true;
open = false;
nvidiaSettings = true;
# ВКЛЮЧАЕМ PRIME С ПРАВИЛЬНЫМИ BUS ID
prime = {
sync.enable = true;
intelBusId = "PCI:0:2:0"; # Intel HD Graphics 4000
nvidiaBusId = "PCI:1:0:0"; # GeForce 710M
};
};
services.xserver = {
enable = true;
videoDrivers = [ “nvidia” ];
};
hardware.opengl = {
enable = true;
driSupport = true;
};
boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;
boot.kernelParams = [
“nvidia-drm.modeset=1”
“ibt=off”
“nouveau.modeset=0”
];
boot.initrd.kernelModules = [ “nvidia” ];
#hardware.graphics.enable = true;
hardware.enableAllFirmware = true;
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
settings = {
General = {
Experimental = true;
FastConnectable = true;
};
Policy = {
AutoEnable = true;
};
};
};
}
configuration
Edit this configuration file to define what should be installed on
your system. Help is available in the configuration.nix(5) man page
and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, pkgs-unstable, … }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
./Desktop_apps.nix
./hardware_shid.nix
];
networking.hostName = “froggor”; # Define your hostname.
networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
Set your time zone.
time.timeZone = “Europe/Moscow”;
Select internationalisation properties.
i18n.defaultLocale = “ru_RU.UTF-8”;
i18n.extraLocaleSettings = {
LC_ADDRESS = “ru_RU.UTF-8”;
LC_IDENTIFICATION = “ru_RU.UTF-8”;
LC_MEASUREMENT = “ru_RU.UTF-8”;
LC_MONETARY = “ru_RU.UTF-8”;
LC_NAME = “ru_RU.UTF-8”;
LC_NUMERIC = “ru_RU.UTF-8”;
LC_PAPER = “ru_RU.UTF-8”;
LC_TELEPHONE = “ru_RU.UTF-8”;
LC_TIME = “ru_RU.UTF-8”;
};
Enable CUPS to print documents.
services.printing.enable = true;
Define a user account. Don’t forget to set a password with ‘passwd’.
users.users.thefroggo = {
isNormalUser = true;
description = “The Froggo Studios”;
extraGroups = [ “networkmanager” “wheel” ];
packages = with pkgs; [
kdePackages.kate
thunderbird
];
};
Enable automatic login for the user.
services.displayManager.autoLogin.enable = false;
services.displayManager.autoLogin.user = “thefroggo”;
networking.firewall.enable = true;
system.stateVersion = “25.05”;
fonts.packages = with pkgs; [
noto-fonts
noto-fonts-cjk-sans
noto-fonts-color-emoji
liberation_ttf
fira-code
fira-code-symbols
mplus-outline-fonts.githubRelease
dina-font
proggyfonts
maple-mono.truetype
];
nix.settings.experimental-features = [ “nix-command” “flakes”];
hardware.graphics = {
enable = true;
#};
}
what I expect: to not see dedicated GPU register as “llvmpipe”
what I get: system recognizes built-in Intel Graphics and a “llvmpipe”
I tried googling similar issues, and use DeepSeek to search for anything I might’ve missed mostly without success.
Official NVIDIA driver search shows up a 430.40 version of the driver, which apparently, does not install with legacy_470 package, while 390.157 version being most recent, starts up at boot, but nvidia-smi returns that the GPU is ‘Off’ and in the processes ‘Not supported’.
I am currently running this laptop with 16 Gb RAM, core i7-3740QM and the dreaded GeForce 710M (not the GT version) on NixOS 25.05 and nixpkgs unstable branch in my flake. I use PRIME in sync mode.
I hope somebody had similiar issues and I just missed a topic here, but if not, I am very new to this distro and am not a developer of any kind, so any help would be great.