treewide: remove 'with lib;'

This commit is contained in:
Felix Buehler 2025-09-21 18:40:36 +02:00
parent cf54323dc7
commit 78ae241387
53 changed files with 245 additions and 245 deletions

View file

@ -8,15 +8,15 @@ let
cfg = config.my.hardware.graphics;
in
{
options.my.hardware.graphics = with lib; {
enable = mkEnableOption "graphics configuration";
cpuFlavor = mkOption {
type =
with types;
nullOr (enum [
options.my.hardware.graphics = {
enable = lib.mkEnableOption "graphics configuration";
cpuFlavor = lib.mkOption {
type = lib.types.nullOr (
lib.types.enum [
"amd"
"intel"
]);
]
);
default = null;
example = "intel";
description = "Which kind of GPU";