This commit is contained in:
xqtc 2024-10-17 17:41:03 +02:00
parent 828989b482
commit b7d4f62551
8 changed files with 42 additions and 9 deletions

View file

@ -59,5 +59,12 @@
... ...
}: {}; }: {};
flake = {}; flake = {};
# colmena = {
# "beleth" = {
# deployment.targetHost = "heroin.trade";
# deployment.replaceUnknownProfiles = false;
# deployment.buildOnTarget = true;
# };
# };
}; };
} }

View file

@ -126,6 +126,7 @@ wezterm.on('update-status', function(window, pane)
}) })
end) end)
config.front_end = 'WebGpu'
for _, gpu in ipairs(wezterm.gui.enumerate_gpus()) do for _, gpu in ipairs(wezterm.gui.enumerate_gpus()) do
if gpu.backend == 'Vulkan' and gpu.device_type == 'IntegratedGpu' or gpu.device_type == "DiscreteGpu" then if gpu.backend == 'Vulkan' and gpu.device_type == 'IntegratedGpu' or gpu.device_type == "DiscreteGpu" then
config.webgpu_preferred_adapter = gpu config.webgpu_preferred_adapter = gpu

View file

@ -11,6 +11,7 @@
in { in {
home.packages = home.packages =
(lib.optionals (config.os == "linux") (with pkgs; [ (lib.optionals (config.os == "linux") (with pkgs; [
cargo
yubioath-flutter yubioath-flutter
steam steam
heroic heroic
@ -98,6 +99,7 @@ in {
ipafont ipafont
vesktop vesktop
discord
element-desktop element-desktop
qbittorrent qbittorrent

View file

@ -134,6 +134,10 @@
panel.enabled = false; panel.enabled = false;
}; };
copilot-cmp.enable = false; copilot-cmp.enable = false;
copilot-chat = {
enable = true;
settings.context = "buffers";
};
neocord.enable = true; neocord.enable = true;
rustaceanvim = { rustaceanvim = {
enable = false; enable = false;
@ -168,7 +172,7 @@
servers = { servers = {
# disabled due to compile error # disabled due to compile error
# typst-lsp.enable = true; # typst-lsp.enable = true;
typos-lsp.enable = true; typos-lsp.enable = false;
docker-compose-language-service.enable = true; docker-compose-language-service.enable = true;
pylsp.enable = true; pylsp.enable = true;
bashls.enable = true; bashls.enable = true;

View file

@ -1,14 +1,34 @@
{ {
config, config,
pkgs, pkgs,
lib,
inputs, inputs,
... ...
}: { }: {
programs = { programs = {
zsh.enable = zsh = {
if config.os == "linux" enable = if (config.os == "linux") then true else false;
then true oh-my-zsh = {
else false; 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 = { atuin = {
enable = true; enable = true;
enableNushellIntegration = true; enableNushellIntegration = true;

View file

@ -115,7 +115,6 @@
gcc13 gcc13
cargo cargo
rustc
wl-clipboard wl-clipboard
xclip xclip

View file

@ -21,7 +21,7 @@ beleth:
# arch_sanitized=$(echo $arch | sed 's/^"//;s/"$//') # arch_sanitized=$(echo $arch | sed 's/^"//;s/"$//')
# 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 nixos-config && git pull && cd && sh build_website.sh";
ssh {{beleth-user-host}} "cd && cd /var/www/cheats-rs/ && git pull && zola build"; ssh {{beleth-user-host}} "cd && cd /var/www/cheats-rs/ && git pull && zola build";
exit exit
# fi # fi
@ -29,7 +29,8 @@ beleth:
beleth-non-nixos: beleth-non-nixos:
set -euxo pipefail 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"; ssh {{beleth-user-host}} "cd && cd /var/www/cheats-rs/ && git pull && zola build && cd && sh build_website.sh";
website: website:

1
result
View file

@ -1 +0,0 @@
/nix/store/7nlb2hg141qvsbychf5kd0pqb49yp579-home-manager-generation