Merge pull request #321242 from onny/davfs2-remove-module
nixos/davfs2: Add deprecation notice
This commit is contained in:
@@ -4,7 +4,7 @@ let
|
||||
inherit (lib.attrsets) optionalAttrs;
|
||||
inherit (lib.generators) toINIWithGlobalSection;
|
||||
inherit (lib.lists) optional;
|
||||
inherit (lib.modules) mkIf;
|
||||
inherit (lib.modules) mkIf mkRemovedOptionModule;
|
||||
inherit (lib.options) literalExpression mkEnableOption mkOption;
|
||||
inherit (lib.strings) escape;
|
||||
inherit (lib.types) attrsOf bool int lines oneOf str submodule;
|
||||
@@ -27,6 +27,13 @@ let
|
||||
in
|
||||
{
|
||||
|
||||
imports = [
|
||||
(mkRemovedOptionModule [ "services" "davfs2" "extraConfig" ] ''
|
||||
The option extraConfig got removed, please migrate to
|
||||
services.davfs2.settings instead.
|
||||
'')
|
||||
];
|
||||
|
||||
options.services.davfs2 = {
|
||||
enable = mkEnableOption "davfs2";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user