Add Bluetui, organize some other things
This commit is contained in:
parent
c2ae238ae3
commit
6ead3afd36
4 changed files with 19 additions and 8 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue