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 {
|
||||
freeformType = types.attrsOf unitOption;
|
||||
options = {
|
||||
DefaultCPUAccounting = mkOption {
|
||||
type = types.bool;
|
||||
default = cfg.enableCgroupAccounting;
|
||||
defaultText = lib.literalExpression "config.systemd.enableCgroupAccounting";
|
||||
description = "Turn on CPU usage accounting";
|
||||
};
|
||||
|
||||
DefaultIOAccounting = mkOption {
|
||||
type = types.bool;
|
||||
default = cfg.enableCgroupAccounting;
|
||||
|
||||
Reference in New Issue
Block a user