even more changes
This commit is contained in:
parent
70641598f9
commit
1d2a73c25a
14 changed files with 120 additions and 108 deletions
15
modules/options/system/hardware.nix
Normal file
15
modules/options/system/hardware.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkOption mkEnableOption;
|
||||
inherit (lib.types) str package int;
|
||||
in {
|
||||
options.modules.system.hardware = {
|
||||
nvidia = {
|
||||
enable = mkEnableOption "Nvidia Nvidia graphics drivers";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -38,6 +38,8 @@ in {
|
|||
|
||||
# monitor configuration
|
||||
./monitors.nix
|
||||
|
||||
./hardware.nix
|
||||
];
|
||||
config = {
|
||||
warnings = mkMerge [
|
||||
|
@ -92,12 +94,13 @@ in {
|
|||
|
||||
video = {
|
||||
enable = mkEnableOption "video drivers and programs that require a graphical user interface";
|
||||
nvidia = mkOption "Nvidia graphics drivers";
|
||||
amd = mkOption "AMD graphics drivers";
|
||||
nvidia = mkEnableOption "Nvidia graphics drivers";
|
||||
amd = mkEnableOption "AMD graphics drivers";
|
||||
};
|
||||
|
||||
bluetooth = {
|
||||
hardware.bluetooth = {
|
||||
enable = mkEnableOption "bluetooth modules, drivers and configuration program(s)";
|
||||
powerOnBoot = mkEnableOption "Enable bluetooth on boot";
|
||||
};
|
||||
|
||||
# should the device enable printing module and try to load common printer modules
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue