* Prevent merging of some options. P.S. maybe string options
should be "uniq" by default. svn path=/nixos/trunk/; revision=31520
This commit is contained in:
parent
7be82b3f59
commit
cc41bce79d
@ -91,8 +91,9 @@ in
|
|||||||
"p4_clockmod"
|
"p4_clockmod"
|
||||||
];
|
];
|
||||||
|
|
||||||
powerManagement.cpuFreqGovernor = "ondemand";
|
powerManagement.cpuFreqGovernor = mkDefault "ondemand";
|
||||||
powerManagement.scsiLinkPolicy = "min_power";
|
powerManagement.scsiLinkPolicy = mkDefault "min_power";
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -10,6 +10,7 @@ with pkgs.lib;
|
|||||||
powerManagement.cpuFreqGovernor = mkOption {
|
powerManagement.cpuFreqGovernor = mkOption {
|
||||||
default = "";
|
default = "";
|
||||||
example = "ondemand";
|
example = "ondemand";
|
||||||
|
type = types.uniq types.string;
|
||||||
description = ''
|
description = ''
|
||||||
Configure the governor used to regulate the frequence of the
|
Configure the governor used to regulate the frequence of the
|
||||||
available CPUs. By default, the kernel configures the governor
|
available CPUs. By default, the kernel configures the governor
|
||||||
|
@ -10,6 +10,7 @@ with pkgs.lib;
|
|||||||
powerManagement.scsiLinkPolicy = mkOption {
|
powerManagement.scsiLinkPolicy = mkOption {
|
||||||
default = "";
|
default = "";
|
||||||
example = "min_power";
|
example = "min_power";
|
||||||
|
type = types.uniq types.string;
|
||||||
description = ''
|
description = ''
|
||||||
Configure the scsi link power management policy. By default,
|
Configure the scsi link power management policy. By default,
|
||||||
the kernel configures "max_performance".
|
the kernel configures "max_performance".
|
||||||
|
Loading…
x
Reference in New Issue
Block a user