Add Bluetui, organize some other things

This commit is contained in:
Bun 2025-04-17 11:17:51 -04:00
parent c2ae238ae3
commit 6ead3afd36
4 changed files with 19 additions and 8 deletions

View file

@ -1,6 +1,6 @@
{ config, lib, ... }:
{
options.system.nvidia.enable = lib.mkEnableOption "Enable the Nvidia graphics stack";
options.system.nvidia.enable = lib.mkEnableOption "Enable Nvidia graphic drivers";
config = lib.mkIf config.system.nvidia.enable {
hardware.nvidia = {
@ -9,9 +9,11 @@
open = true;
};
boot.kernelParams = [ "nvidia_drm.fbdev=1" ]; # Framebuffer fixes TTY access
services.xserver.videoDrivers = [ "nvidia" ];
nixpkgs.allowUnfreePackages = [ "nvidia-x11" ];
boot.kernelParams = [ "nvidia_drm.fbdev=1" ]; # Experimental framebuffer allows tty access
specialisation.nouveau.configuration.config.system.nvidia.enable = lib.mkForce false;
};