This commit is contained in:
Sakooooo 2023-08-06 23:07:33 +03:00
parent 2ab8c8a5c0
commit 8838778d84
Signed by: sako
GPG key ID: 3FD715D87D7725E0
4 changed files with 31 additions and 0 deletions

View file

@ -562,3 +562,6 @@ end)
client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus end)
client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end)
-- }}}
-- Gaps for dopamine
beautiful.useless_gap = 5

View file

@ -71,6 +71,7 @@
javascript.enable = true;
python.enable = true;
rust.enable = true;
lua.enable = true;
# too heavy
unity.enable = false;
};

View file

@ -8,5 +8,6 @@
./unityhub.nix
./nixd.nix
./nil.nix
./lua.nix
];
}

26
modules/dev/lua.nix Normal file
View file

@ -0,0 +1,26 @@
{
outputs,
options,
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.modules.dev.lua;
in {
options.modules.dev.lua = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
# lua language server
lua-language-server
# lua
lua
# luarocks
luarocks
];
};
}