summaryrefslogtreecommitdiff
path: root/hosts/full-iso
diff options
context:
space:
mode:
authorJakub Stachurski <jakub@wilkuu.xyz>2026-05-29 21:36:42 +0200
committerJakub Stachurski <jakub@wilkuu.xyz>2026-05-29 21:36:42 +0200
commit3cc863c5e3b20ca845c9aababca992f10ff6d5c6 (patch)
treeb086f5706f0169543287f7d5c3f98cb58557b3ff /hosts/full-iso
parent85d8f06cec5e0243b3157f3cd4fb0f37997822a3 (diff)
Add nvidia to livecd (most likely broken )
Diffstat (limited to 'hosts/full-iso')
-rw-r--r--hosts/full-iso/default.nix17
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;