This commit is contained in:
2024-10-19 21:36:47 -04:00
parent 4a3106009a
commit a194ea6eb9
8 changed files with 69 additions and 51 deletions

View File

@@ -48,6 +48,8 @@ in
gcc-native = "${pkgs.gcc}/bin/gcc -Q --help=target -mtune=native -march=native | ${pkgs.gnugrep}/bin/grep -E '^\\s+\-(mtune|march)=' | ${coreutils}/tr -d '[:blank:]'";
chess = "${pkgs.chess-tui}/bin/chess-tui -e ${pkgs.stockfish}/bin/stockfish";
run-steam = "gamescope --backend sdl -W 2256 -H 1504 -f --steam -- steam -tenfoot -pipewire-dmabuf";
};
shellInit = ''

View File

@@ -6,15 +6,6 @@
}:
let
models = [
{
name = "Rombos-LLM-V2.6-Qwen-14b.IQ4_XS.gguf";
context_length = "32768";
gen_length = "8192";
source = pkgs.fetchurl {
url = "https://huggingface.co/mradermacher/Rombos-LLM-V2.6-Qwen-14b-GGUF/resolve/main/Rombos-LLM-V2.6-Qwen-14b.IQ4_XS.gguf?download=true";
sha256 = "InSndYkZx6pZux1SWn/pjQUc0tvUigjsw+JdXc3Dsdg=";
};
}
{
name = "Qwen2.5-14B-Instruct-IQ4_XS.gguf";
context_length = "32768";
@@ -24,6 +15,15 @@ let
sha256 = "+AHt49no0qQ48MoNsqGJV4FeJ3Cf2hSZqTMjNUIHaO4=";
};
}
{
name = "Qwen2.5-32B-Instruct-IQ4_XS.gguf";
context_length = "32768";
gen_length = "8192";
source = pkgs.fetchurl {
url = "https://huggingface.co/bartowski/Qwen2.5-32B-Instruct-GGUF/resolve/main/Qwen2.5-32B-Instruct-IQ4_XS.gguf?download=true";
sha256 = "iY14/8GApfYc5c0fTABsDO/X5/cxBpnbUbiUTcvzJQ4=";
};
}
];
gpt4all_package = (

View File

@@ -10,8 +10,14 @@
settings = {
prefer-no-csd = true;
environment = {
DISPLAY = ":0";
# environment = {
# DISPLAY = ":0";
# };
outputs = {
"BOE 0x095F Unknown" = {
scale = 1.5;
};
};
spawn-at-startup = [
@@ -29,12 +35,13 @@
];
}
{
command = [
"${pkgs.xwayland-satellite-unstable}/bin/xwayland-satellite"
(builtins.toString config.programs.niri.settings.environment.DISPLAY)
];
}
# {
# command = [
# "${pkgs.xwayland-satellite-unstable}/bin/xwayland-satellite"
# # (builtins.toString config.programs.niri.settings.environment.DISPLAY)
# ":0"
# ];
# }
];
window-rules = [