even more changes

This commit is contained in:
Charlie Root 2024-08-16 22:46:01 +02:00
commit 1d2a73c25a
14 changed files with 120 additions and 108 deletions

View 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";
};
};
}

View file

@ -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