nixos/earlyoom: mention extraArgs breakage and fix example (#371550)
This commit is contained in:
@@ -156,6 +156,10 @@
|
||||
access or want to access home directory via `killHook`, hardening setting can
|
||||
be changed via, e.g. `systemd.services.earlyoom.serviceConfig.ProtectSystem`.
|
||||
|
||||
`services.earlyoom.extraArgs` is now shell-escaped for each element without
|
||||
word-breaking. So you want to write `extraArgs = [ "--prefer" "spaced pat" ]`
|
||||
rather than previous `extraArgs = [ "--prefer 'spaced pat'" ]`.
|
||||
|
||||
- `nodePackages.vls` has been deprecated, as the upstream consumer of it, vetur, has been deprecated by upstream. Upstream suggests migrating to Volar for Vue LSP tooling instead.
|
||||
|
||||
- `nodePackages.create-react-native-app` has been removed, as it is deprecated. Upstream suggests using a framework for React Native apps instead.
|
||||
|
||||
@@ -139,9 +139,14 @@ in
|
||||
default = [ ];
|
||||
example = [
|
||||
"-g"
|
||||
"--prefer '(^|/)(java|chromium)$'"
|
||||
"--prefer"
|
||||
"(^|/)(java|chromium)$"
|
||||
];
|
||||
description = "Extra command-line arguments to be passed to earlyoom.";
|
||||
description = ''
|
||||
Extra command-line arguments to be passed to earlyoom. Each element in
|
||||
the value list will be escaped as an argument without further
|
||||
word-breaking.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user