mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-23 23:13:54 +01:00
forgor
This commit is contained in:
parent
828989b482
commit
b7d4f62551
|
@ -59,5 +59,12 @@
|
|||
...
|
||||
}: {};
|
||||
flake = {};
|
||||
# colmena = {
|
||||
# "beleth" = {
|
||||
# deployment.targetHost = "heroin.trade";
|
||||
# deployment.replaceUnknownProfiles = false;
|
||||
# deployment.buildOnTarget = true;
|
||||
# };
|
||||
# };
|
||||
};
|
||||
}
|
||||
|
|
|
@ -126,6 +126,7 @@ wezterm.on('update-status', function(window, pane)
|
|||
})
|
||||
end)
|
||||
|
||||
config.front_end = 'WebGpu'
|
||||
for _, gpu in ipairs(wezterm.gui.enumerate_gpus()) do
|
||||
if gpu.backend == 'Vulkan' and gpu.device_type == 'IntegratedGpu' or gpu.device_type == "DiscreteGpu" then
|
||||
config.webgpu_preferred_adapter = gpu
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
in {
|
||||
home.packages =
|
||||
(lib.optionals (config.os == "linux") (with pkgs; [
|
||||
cargo
|
||||
yubioath-flutter
|
||||
steam
|
||||
heroic
|
||||
|
@ -98,6 +99,7 @@ in {
|
|||
ipafont
|
||||
|
||||
vesktop
|
||||
discord
|
||||
element-desktop
|
||||
|
||||
qbittorrent
|
||||
|
|
|
@ -134,6 +134,10 @@
|
|||
panel.enabled = false;
|
||||
};
|
||||
copilot-cmp.enable = false;
|
||||
copilot-chat = {
|
||||
enable = true;
|
||||
settings.context = "buffers";
|
||||
};
|
||||
neocord.enable = true;
|
||||
rustaceanvim = {
|
||||
enable = false;
|
||||
|
@ -168,7 +172,7 @@
|
|||
servers = {
|
||||
# disabled due to compile error
|
||||
# typst-lsp.enable = true;
|
||||
typos-lsp.enable = true;
|
||||
typos-lsp.enable = false;
|
||||
docker-compose-language-service.enable = true;
|
||||
pylsp.enable = true;
|
||||
bashls.enable = true;
|
||||
|
|
|
@ -1,14 +1,34 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
programs = {
|
||||
zsh.enable =
|
||||
if config.os == "linux"
|
||||
then true
|
||||
else false;
|
||||
zsh = {
|
||||
enable = if (config.os == "linux") then true else false;
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
plugins = ["git"];
|
||||
theme = "lambda";
|
||||
};
|
||||
initExtraFirst =
|
||||
if !(config.os == "linux")
|
||||
then "export PATH=$PATH:~/.cargo/bin/\n"
|
||||
else "";
|
||||
plugins = [
|
||||
{
|
||||
name = "zsh-autocomplete";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "marlonrichert";
|
||||
repo = "zsh-autocomplete";
|
||||
rev = "23.07.13";
|
||||
sha256 = "sha256-/6V6IHwB5p0GT1u5SAiUa20LjFDSrMo731jFBq/bnpw=";
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
atuin = {
|
||||
enable = true;
|
||||
enableNushellIntegration = true;
|
||||
|
|
|
@ -115,7 +115,6 @@
|
|||
gcc13
|
||||
|
||||
cargo
|
||||
rustc
|
||||
|
||||
wl-clipboard
|
||||
xclip
|
||||
|
|
5
justfile
5
justfile
|
@ -21,7 +21,7 @@ beleth:
|
|||
# arch_sanitized=$(echo $arch | sed 's/^"//;s/"$//')
|
||||
# if [ $arch_sanitized == "x86_64-linux" ]; then
|
||||
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 nixos-config && git pull && cd && sh build_website.sh";
|
||||
ssh {{beleth-user-host}} "cd && cd /var/www/cheats-rs/ && git pull && zola build";
|
||||
exit
|
||||
# fi
|
||||
|
@ -29,7 +29,8 @@ beleth:
|
|||
|
||||
beleth-non-nixos:
|
||||
set -euxo pipefail
|
||||
ssh {{beleth-user-host}} "cd nixos-config && git pull && nixos-rebuild --flake . switch && echo meow"
|
||||
ssh {{beleth-user-host}} "cd nixos-config && git pull"
|
||||
ssh {{beleth-host}} "cd /home/xqtc/nixos-config && nixos-rebuild --flake . switch && echo meow"
|
||||
ssh {{beleth-user-host}} "cd && cd /var/www/cheats-rs/ && git pull && zola build && cd && sh build_website.sh";
|
||||
|
||||
website:
|
||||
|
|
Loading…
Reference in a new issue