mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Declare removed option with mkRemovedOptionModule
This commit is contained in:
parent
b2d6b30648
commit
679a417a7a
1 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,10 @@
|
|||
cfg = config.systemd.oomd;
|
||||
|
||||
in {
|
||||
imports = [
|
||||
(lib.mkRemovedOptionModule [ "systemd" "oomd" "enableUserServices" ] "Use systemd.oomd.enableUserSlices instead.")
|
||||
];
|
||||
|
||||
options.systemd.oomd = {
|
||||
enable = lib.mkEnableOption (lib.mdDoc "the `systemd-oomd` OOM killer") // { default = true; };
|
||||
|
||||
|
|
Loading…
Reference in a new issue