mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
25 lines
590 B
Nix
25 lines
590 B
Nix
{ lib, ... }:
|
|
{
|
|
options.swarselsystems = {
|
|
cpuCount = lib.mkOption {
|
|
type = lib.types.int;
|
|
default = 8;
|
|
};
|
|
isSecondaryGpu = lib.mkEnableOption "device has a secondary GPU";
|
|
SecondaryGpuCard = lib.mkOption {
|
|
type = lib.types.str;
|
|
default = "";
|
|
};
|
|
temperatureHwmon = {
|
|
isAbsolutePath = lib.mkEnableOption "absolute temperature path";
|
|
path = lib.mkOption {
|
|
type = lib.types.str;
|
|
default = "";
|
|
};
|
|
input-filename = lib.mkOption {
|
|
type = lib.types.str;
|
|
default = "";
|
|
};
|
|
};
|
|
};
|
|
}
|