nixos/systemd: remove obsolete DefaultCPUAccounting option
This option is made uncondiotional in systemd 258 [1].
Earlier, it defaulted to true on kernels newer than 4.15,
which applies to all supported nixos kernels.
This means removing the option does not change behavior.
[1] 29da53dde3
This commit is contained in:
@@ -425,13 +425,6 @@ in
|
|||||||
type = lib.types.submodule {
|
type = lib.types.submodule {
|
||||||
freeformType = types.attrsOf unitOption;
|
freeformType = types.attrsOf unitOption;
|
||||||
options = {
|
options = {
|
||||||
DefaultCPUAccounting = mkOption {
|
|
||||||
type = types.bool;
|
|
||||||
default = cfg.enableCgroupAccounting;
|
|
||||||
defaultText = lib.literalExpression "config.systemd.enableCgroupAccounting";
|
|
||||||
description = "Turn on CPU usage accounting";
|
|
||||||
};
|
|
||||||
|
|
||||||
DefaultIOAccounting = mkOption {
|
DefaultIOAccounting = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = cfg.enableCgroupAccounting;
|
default = cfg.enableCgroupAccounting;
|
||||||
|
|||||||
Reference in New Issue
Block a user