mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-23 01:05:38 +00:00
18 lines
305 B
Nix
18 lines
305 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
|
|
options.lua.enable = lib.mkEnableOption "Lua programming language.";
|
|
|
|
config = lib.mkIf config.lua.enable {
|
|
home-manager.users.${config.user}.home.packages = with pkgs; [
|
|
stylua # Lua formatter
|
|
sumneko-lua-language-server # Lua LSP
|
|
];
|
|
};
|
|
}
|