diff options
Diffstat (limited to '')
-rw-r--r-- | modules/editorconfig.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/editorconfig.nix b/modules/editorconfig.nix index e7f55ff..56cb20c 100644 --- a/modules/editorconfig.nix +++ b/modules/editorconfig.nix @@ -1,12 +1,11 @@ { config, lib, ... }: -with lib; let cfg = config.nixfiles.modules.editorconfig; in { - options.nixfiles.modules.editorconfig.enable = mkEnableOption "Editorconfig"; + options.nixfiles.modules.editorconfig.enable = lib.mkEnableOption "Editorconfig"; - config = mkIf cfg.enable { + config = lib.mkIf cfg.enable { hm.editorconfig = { enable = true; settings = { |