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

@ -3,16 +3,16 @@ let
cfg = config.my.hardware.firmware;
in
{
options.my.hardware.firmware = with lib; {
enable = mkEnableOption "firmware configuration";
options.my.hardware.firmware = {
enable = lib.mkEnableOption "firmware configuration";
cpuFlavor = mkOption {
type =
with types;
nullOr (enum [
cpuFlavor = lib.mkOption {
type = lib.types.nullOr (
lib.types.enum [
"intel"
"amd"
]);
]
);
default = null;
example = "intel";
description = "Which kind of CPU to activate micro-code updates";