Compare commits

..

4 commits

5 changed files with 29 additions and 4 deletions

View file

@ -52,6 +52,9 @@ in
curl
ollamaPackage
# Needed by LuaSnip
luajitPackages.jsregexp
# CMAKE
neocmakelsp

View file

@ -18,6 +18,7 @@ return {
{ import = "astrocommunity.pack.cmake" },
{ import = "astrocommunity.pack.cpp" },
{ import = "astrocommunity.pack.cs" },
{ import = "astrocommunity.pack.godot" },
{ import = "astrocommunity.pack.html-css" },
{ import = "astrocommunity.pack.json" },

View file

@ -30,6 +30,7 @@ pkgs:
},
}
-- @type DapAdapter
dap.adapters.cppdbg = {
id = "cppdbg",
type = "executable",
@ -37,6 +38,13 @@ pkgs:
"${pkgs.vscode-extensions.ms-vscode.cpptools}/share/vscode/extensions/ms-vscode.cpptools/debugAdapters/bin/OpenDebugAD7",
}
-- @type DapAdapter
dap.adapters.coreclr = {
type = "executable",
command = "${pkgs.netcoredbg}/bin/netcoredbg",
args = {"--interpreter=vscode"}
}
-- @type DapConfiguration
dap.configurations.rust = {
{
@ -51,6 +59,7 @@ pkgs:
},
}
-- @type DapConfiguration
dap.configurations.cpp = {
{
name = "Launch file",
@ -77,4 +86,16 @@ pkgs:
}
dap.configurations.c = dap.configurations.cpp
-- @type DapConfiguration
dap.configurations.cs = {
{
type = "coreclr",
name = "launch - netcoredbg",
request = "launch",
program = function()
return vim.fn.input('Path to dll', vim.fn.getcwd() .. '/bin/Debug/', 'file')
end,
},
}
''

View file

@ -14,7 +14,7 @@
Unit.Description = "OpenTTD Tmux server";
Service = {
ExecStart = "${pkgs.tmux}/bin/tmux -S /run/user/1000/tmux-1000/openttd new -s OpenTTD -d '${pkgs.openttd}/bin/openttd -g /home/wizardlink/.local/share/openttd/save/hyfy.sav -D'";
ExecStart = "${pkgs.tmux}/bin/tmux -L openttd new -s OpenTTD -d '${pkgs.openttd}/bin/openttd -g /home/wizardlink/.local/share/openttd/save/hyfy.sav -D'";
ExecStop = "${pkgs.tmux}/bin/tmux kill-session -t OpenTTD";
Restart = "on-failure";
Type = "forking";
@ -30,7 +30,7 @@
};
Service = {
ExecStart = "${pkgs.tmux}/bin/tmux -S /run/user/1000/tmux-1000/openttd send-keys -t OpenTTD 'rcon_pw aaaa' Enter";
ExecStart = "${pkgs.tmux}/bin/tmux -L openttd send-keys -t OpenTTD 'rcon_pw aaaa' Enter";
Type = "oneshot";
};
};
@ -44,7 +44,7 @@
};
Service = {
ExecStart = "${pkgs.tmux}/bin/tmux -S /run/user/1000/tmux-1000/openttd send-keys -t OpenTTD 'save hyfy' Enter";
ExecStart = "${pkgs.tmux}/bin/tmux -L openttd send-keys -t OpenTTD 'save hyfy' Enter";
Type = "simple";
Restart = "always";
RestartSec = "1800s";

View file

@ -7,7 +7,7 @@
Unit.Description = "Terraria TMUX Server";
Service = {
ExecStart = "${pkgs.tmux}/bin/tmux -S /run/user/1000/tmux-1000/terraria new -s Terraria -d /etc/profiles/per-user/wizardlink/bin/fhs -c 'dotnet ./tModLoader.dll -server -config serverconfig.txt'";
ExecStart = "${pkgs.tmux}/bin/tmux -L terraria new -s Terraria -d /etc/profiles/per-user/wizardlink/bin/fhs -c 'dotnet ./tModLoader.dll -server -config serverconfig.txt'";
ExecStop = "${pkgs.tmux}/bin/tmux kill-session -t Terraria";
Restart = "on-failure";
Type = "forking";