From 3cc863c5e3b20ca845c9aababca992f10ff6d5c6 Mon Sep 17 00:00:00 2001 From: Jakub Stachurski Date: Fri, 29 May 2026 21:36:42 +0200 Subject: Add nvidia to livecd (most likely broken ) --- hosts/full-iso/default.nix | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'hosts') diff --git a/hosts/full-iso/default.nix b/hosts/full-iso/default.nix index 06b46aa..6df9f5f 100644 --- a/hosts/full-iso/default.nix +++ b/hosts/full-iso/default.nix @@ -1,7 +1,12 @@ -{ modulesPath, lib, ... }: +{ + modulesPath, + lib, + config, + ... +}: { imports = [ - (modulesPath + "/installer/cd-dvd/installation-cd-base.nix") + (modulesPath + "/installer/cd-dvd/installation-cd-graphical-base.nix") ]; boot.loader.systemd-boot.enable = true; @@ -21,6 +26,14 @@ }; }; + hardware.nvidia = { + modesetting.enable = true; + powerManagement.enable = false; + open = true; + nvidiaSettings = true; + package = config.boot.kernelPackages.nvidiaPackages.stable; + }; + hardware.bluetooth.powerOnBoot = true; services.blueman.enable = true; -- cgit v1.3.1