Add a global options role.

This commit is contained in:
Tom Alexander 2025-01-20 19:27:49 -05:00
parent 95d06dfe0e
commit ccbc999744
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
2 changed files with 35 additions and 0 deletions

View File

@ -9,6 +9,7 @@
{ {
imports = [ imports = [
./roles/reset ./roles/reset
./roles/global_options
./util/unfree_polyfill ./util/unfree_polyfill
./roles/iso ./roles/iso
"${ "${

View File

@ -0,0 +1,34 @@
{
config,
lib,
pkgs,
...
}:
{
imports = [ ];
options.me = {
};
# options.me.graphicsCardType = lib.mkOption {
# type = lib.types.nullOr (
# lib.types.enum [
# "amd"
# "intel"
# "nvidia"
# ]
# );
# default = null;
# example = "amd";
# description = "What graphics card type is in the computer.";
# };
# options.me.graphical = lib.mkOption {
# type = lib.types.bool;
# default = false;
# example = true;
# description = "Whether we want to install graphical programs.";
# };
}