treewide: use mkEnableOption with overrides over mkOption

This commit is contained in:
Elec3137 2026-02-27 10:13:29 -08:00
commit 710db7b0d5
3 changed files with 4 additions and 11 deletions

View file

@ -13,9 +13,7 @@ in
options.nixowos.graphical.${name} = {
enable = lib.mkEnableOption name;
startOnFirstTTY = lib.mkOption {
type = lib.types.bool;
default = false;
startOnFirstTTY = lib.mkEnableOption "starting plasma from tty1" // {
description = ''
Whether to start ${name} automatically from tty1.