mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-10-15 19:37:19 +02:00
treewide: remove 'with lib;'
This commit is contained in:
parent
cf54323dc7
commit
78ae241387
53 changed files with 245 additions and 245 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue