This commit is contained in:
xqtc 2024-07-21 21:29:06 +02:00
parent 317a6526bf
commit 4723c711df
3 changed files with 12 additions and 0 deletions

View file

@ -68,6 +68,7 @@
}; };
}; };
}; };
rustaceanvim.settings.server.default_settings.rust-analyzer.diagnostics.disabled = [ "inactive-code" ];
lsp = { lsp = {
enable = true; enable = true;
inlayHints = true; inlayHints = true;

View file

@ -78,6 +78,16 @@ with lib; {
file_server file_server
''; '';
}; };
"cheats-rs.heroin.trade" = {
extraConfig = ''
root * /var/www/cheats-rs/public/
handle_errors {
rewrite * /404.html
file_server
}
file_server
'';
};
"syncthing.heroin.trade" = { "syncthing.heroin.trade" = {
extraConfig = '' extraConfig = ''
reverse_proxy http://localhost:8384 { reverse_proxy http://localhost:8384 {

View file

@ -22,6 +22,7 @@ beleth:
# if [ $arch_sanitized == "x86_64-linux" ]; then # if [ $arch_sanitized == "x86_64-linux" ]; then
nixos-rebuild switch --flake '.#beleth' --build-host {{beleth-host}} --target-host {{beleth-host}}; nixos-rebuild switch --flake '.#beleth' --build-host {{beleth-host}} --target-host {{beleth-host}};
ssh {{beleth-user-host}} "cd && cd nixos-config && git pull && cd && sh build_website.sh"; ssh {{beleth-user-host}} "cd && cd nixos-config && git pull && cd && sh build_website.sh";
ssh {{beleth-user-host}} "cd && cd /var/www/cheats-rs/ && git pull && zola build";
exit exit
# fi # fi
# @echo "Host arch needs to be 'x86_64-linux'! Aborting..."; # @echo "Host arch needs to be 'x86_64-linux'! Aborting...";