Simplify more options
This commit is contained in:
parent
fbfedfd761
commit
8c2bf296ca
8 changed files with 33 additions and 58 deletions
|
@ -1,9 +1,6 @@
|
|||
{ lib, pkgs, config, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
options.system.video.nouveau.enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
options.system.video.nouveau.enable = lib.mkEnableOption "Enable the Nouveau graphics stack";
|
||||
|
||||
config = lib.mkIf config.system.video.nouveau.enable {
|
||||
services.xserver.videoDrivers = [ "nouveau" ];
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
{ lib, pkgs, config, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
options.system.video.nvidia.enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
options.system.video.nvidia.enable = lib.mkEnableOption "Enable the Nvidia graphics stack";
|
||||
|
||||
config = lib.mkIf config.system.video.nvidia.enable {
|
||||
hardware = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue