mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03: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;
|
cfg = config.systemd.oomd;
|
||||||
|
|
||||||
in {
|
in {
|
||||||
|
imports = [
|
||||||
|
(lib.mkRemovedOptionModule [ "systemd" "oomd" "enableUserServices" ] "Use systemd.oomd.enableUserSlices instead.")
|
||||||
|
];
|
||||||
|
|
||||||
options.systemd.oomd = {
|
options.systemd.oomd = {
|
||||||
enable = lib.mkEnableOption (lib.mdDoc "the `systemd-oomd` OOM killer") // { default = true; };
|
enable = lib.mkEnableOption (lib.mdDoc "the `systemd-oomd` OOM killer") // { default = true; };
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue