mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-10-03 18:57:15 +03:00
obsolete-options: add removed clightning plugins
This commit is contained in:
parent
aec25c7d04
commit
5730afe48e
@ -107,7 +107,15 @@ in {
|
||||
(mkRemovedOptionModule [ "services" "clightning" "plugins" "clboss" "acknowledgeDeprecation" ] ''
|
||||
`clboss` is maintained again and has been un-deprecated.
|
||||
'')
|
||||
];
|
||||
]
|
||||
++
|
||||
# 0.0.106
|
||||
(map (plugin:
|
||||
mkRemovedOptionModule [ "services" "clightning" "plugins" plugin ] ''
|
||||
This plugin is no longer maintained.
|
||||
'')
|
||||
[ "summary" "helpme" "prometheus" ]
|
||||
);
|
||||
config = {
|
||||
# Migrate old clightning-rest datadir from nix-bitcoin versions < 0.0.70
|
||||
systemd.services.clightning-rest-migrate-datadir = let
|
||||
|
@ -49,6 +49,9 @@ let
|
||||
removed = [
|
||||
# Only defined via `obsolete-options.nix`
|
||||
"commando"
|
||||
"helpme"
|
||||
"prometheus"
|
||||
"summary"
|
||||
];
|
||||
available = subtractLists removed (builtins.attrNames plugins);
|
||||
enabled = builtins.filter (plugin: plugins.${plugin}.enable) available;
|
||||
|
Loading…
Reference in New Issue
Block a user