diff options
author | Jonas Heinrich <onny@project-insanity.org> | 2024-06-20 13:58:55 +0200 |
---|---|---|
committer | Jonas Heinrich <onny@project-insanity.org> | 2024-06-22 12:21:21 +0200 |
commit | 2eb7209481b08fe200f32d89ba3977fa03e14dd1 (patch) | |
tree | 51553f50022b32d3ac72fdc5b46d326228acaa97 /nixos/modules | |
parent | 2e1ed6a2305c3c092265c758c1964ad0cc526ad8 (diff) |
nixos/davfs2: Add deprecation notice
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/network-filesystems/davfs2.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/nixos/modules/services/network-filesystems/davfs2.nix b/nixos/modules/services/network-filesystems/davfs2.nix index 9a7d0daa6421f..49a363476c975 100644 --- a/nixos/modules/services/network-filesystems/davfs2.nix +++ b/nixos/modules/services/network-filesystems/davfs2.nix @@ -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"; |