diff --git a/modules/home/users/crumb/emacs/snippets/nix-mode/__module b/modules/home/users/crumb/emacs/snippets/nix-mode/__module index d53a81e..e7be9c3 100644 --- a/modules/home/users/crumb/emacs/snippets/nix-mode/__module +++ b/modules/home/users/crumb/emacs/snippets/nix-mode/__module @@ -7,15 +7,13 @@ # -- { config, lib, pkgs, ... }: -with lib; - let cfg = config.${1:`this-current-file-name`}; in { options.$1 = { - enable = mkEnableOption "$2"; + enable = lib.mkEnableOption "$2"; }; - config = mkIf cfg.enable { + config = lib.mkIf cfg.enable { $3 }; } \ No newline at end of file