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 = {};
# 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)
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

View file

@ -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

View file

@ -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;

View file

@ -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;

View file

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

View file

@ -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:

1
result
View file

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