diff options
Diffstat (limited to '')
-rw-r--r-- | modules/common/editorconfig.nix | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/modules/common/editorconfig.nix b/modules/common/editorconfig.nix index 537912f..5dfe845 100644 --- a/modules/common/editorconfig.nix +++ b/modules/common/editorconfig.nix @@ -1,11 +1,9 @@ -{ - config, - lib, - ... -}: -with lib; let +{ config, lib, ... }: +with lib; +let cfg = config.nixfiles.modules.editorconfig; -in { +in +{ options.nixfiles.modules.editorconfig.enable = mkEnableOption "Editorconfig"; config = mkIf cfg.enable { |