diff options
| author | Jakub Stachurski <jakub@wilkuu.xyz> | 2026-05-29 21:36:42 +0200 |
|---|---|---|
| committer | Jakub Stachurski <jakub@wilkuu.xyz> | 2026-05-29 21:36:42 +0200 |
| commit | 3cc863c5e3b20ca845c9aababca992f10ff6d5c6 (patch) | |
| tree | b086f5706f0169543287f7d5c3f98cb58557b3ff /hosts | |
| parent | 85d8f06cec5e0243b3157f3cd4fb0f37997822a3 (diff) | |
Add nvidia to livecd (most likely broken )
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/full-iso/default.nix | 17 |
1 files changed, 15 insertions, 2 deletions
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; |
