22 lines
339 B
Nix
Raw Normal View History

2025-01-29 21:12:48 -05:00
{
config,
pkgs,
lib,
...
}:
let
cfg = config.nmasur.presets.programs.lua;
in
{
options.nmasur.presets.programs.lua.enable = lib.mkEnableOption "Lua programming language.";
config = lib.mkIf cfg.enable {
home.packages = [
pkgs.stylua # Lua formatter
pkgs.sumneko-lua-language-server # Lua LSP
];
};
}