Fix (device options): change all enabled to false, add FIXME warning
This commit is contained in:
parent
a52c868ecf
commit
327f607a0f
2 changed files with 6 additions and 5 deletions
|
|
@ -1 +0,0 @@
|
||||||
Опции для конфигурации устройства.
|
|
||||||
|
|
@ -18,20 +18,20 @@ in
|
||||||
|
|
||||||
battery.enable = lib.mkOption {
|
battery.enable = lib.mkOption {
|
||||||
type = lib.types.bool;
|
type = lib.types.bool;
|
||||||
default = true;
|
default = false;
|
||||||
description = "Battery configuration for the laptop.";
|
description = "Battery configuration for the laptop.";
|
||||||
};
|
};
|
||||||
|
|
||||||
bluetooth.enable = lib.mkOption {
|
bluetooth.enable = lib.mkOption {
|
||||||
type = lib.types.bool;
|
type = lib.types.bool;
|
||||||
default = true;
|
default = false;
|
||||||
description = "Bluetooth configuration for the laptop.";
|
description = "Bluetooth configuration for the laptop.";
|
||||||
};
|
};
|
||||||
|
|
||||||
cpu = {
|
cpu = {
|
||||||
enable = lib.mkOption {
|
enable = lib.mkOption {
|
||||||
type = lib.types.bool;
|
type = lib.types.bool;
|
||||||
default = true;
|
default = false;
|
||||||
description = "CPU configuration for the laptop.";
|
description = "CPU configuration for the laptop.";
|
||||||
};
|
};
|
||||||
type = lib.mkOption {
|
type = lib.mkOption {
|
||||||
|
|
@ -42,11 +42,13 @@ in
|
||||||
default = "intel";
|
default = "intel";
|
||||||
description = "Laptop CPU type.";
|
description = "Laptop CPU type.";
|
||||||
};
|
};
|
||||||
|
# FIXME: Additional imports for devices config:
|
||||||
|
# inputs.nixos-hardware.nixosModules.common-cpu-intel
|
||||||
};
|
};
|
||||||
|
|
||||||
sound.enable = lib.mkOption {
|
sound.enable = lib.mkOption {
|
||||||
type = lib.types.bool;
|
type = lib.types.bool;
|
||||||
default = true;
|
default = false;
|
||||||
description = "Sound configuration for the laptop.";
|
description = "Sound configuration for the laptop.";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Reference in a new issue