modules: show warnings for obsolete options

This commit is contained in:
Erik Arvstedt
2021-01-14 13:24:23 +01:00
parent 45c40c4eb9
commit 18c7842e1a
2 changed files with 32 additions and 0 deletions

View File

@@ -76,6 +76,10 @@ let
lastChange = builtins.elemAt changes (builtins.length changes - 1);
in
{
imports = [
./obsolete-options.nix
];
options = {
nix-bitcoin.configVersion = mkOption {
type = with types; nullOr str;