28 lines
499 B
Nix
Executable File
28 lines
499 B
Nix
Executable File
{ lib, namespace, ... }:
|
|
with lib;
|
|
{
|
|
options.${namespace}.hardware.amd = {
|
|
enable = mkEnableOption "amd hardware config";
|
|
|
|
corectrl.enable = mkOption {
|
|
type = types.bool;
|
|
default = false;
|
|
};
|
|
|
|
corectrl.enablePolkit = mkOption {
|
|
type = types.bool;
|
|
default = false;
|
|
};
|
|
|
|
corectrl.polkitGroup = mkOption {
|
|
type = types.str;
|
|
default = "wheel";
|
|
};
|
|
|
|
lact.enable = mkOption {
|
|
type = types.bool;
|
|
default = false;
|
|
};
|
|
};
|
|
}
|