refactor(emacs): Update Nix module snippet

This commit is contained in:
Madeleine Sydney
2025-04-10 23:49:27 -06:00
parent bd8b3dff34
commit a68f69c2e0

View File

@@ -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
};
}