Compare commits
3 Commits
727fc66b7d
...
b7dc8a7345
| Author | SHA1 | Date | |
|---|---|---|---|
| b7dc8a7345 | |||
| efa66e7347 | |||
| 13c0c4926f |
@ -16,59 +16,6 @@
|
|||||||
|
|
||||||
# https://github.com/NixOS/nixpkgs/pull/339370#issuecomment-2731336341
|
# https://github.com/NixOS/nixpkgs/pull/339370#issuecomment-2731336341
|
||||||
bs-manager
|
bs-manager
|
||||||
|
|
||||||
# Steam session scripts
|
|
||||||
(writeShellScriptBin "steam-session" ''
|
|
||||||
#!/usr/bin/env bash
|
|
||||||
set -xeuo pipefail
|
|
||||||
|
|
||||||
gamescopeArgs=(
|
|
||||||
--adaptive-sync # VRR support
|
|
||||||
--hdr-enabled
|
|
||||||
--mangoapp # performance overlay
|
|
||||||
--rt
|
|
||||||
--steam
|
|
||||||
)
|
|
||||||
|
|
||||||
steamArgs=(
|
|
||||||
-pipewire-dmabuf
|
|
||||||
-tenfoot
|
|
||||||
)
|
|
||||||
|
|
||||||
mangoConfig=(
|
|
||||||
cpu_temp
|
|
||||||
gpu_temp
|
|
||||||
ram
|
|
||||||
vram
|
|
||||||
)
|
|
||||||
|
|
||||||
mangoVars=(
|
|
||||||
MANGOHUD=1
|
|
||||||
MANGOHUD_CONFIG="$(IFS=,; echo "''${mangoConfig[*]}")"
|
|
||||||
)
|
|
||||||
|
|
||||||
export "''${mangoVars[@]}"
|
|
||||||
exec gamescope "''${gamescopeArgs[@]}" -- steam "''${steamArgs[@]}"
|
|
||||||
'')
|
|
||||||
|
|
||||||
(writeShellScriptBin "steam-session-greetd" ''
|
|
||||||
#!/usr/bin/env bash
|
|
||||||
set -xeuo pipefail
|
|
||||||
|
|
||||||
# Set environment variables for Steam gaming session
|
|
||||||
export STEAM_RUNTIME=1
|
|
||||||
export SDL_VIDEODRIVER=wayland
|
|
||||||
export QT_QPA_PLATFORM=wayland
|
|
||||||
export GDK_BACKEND=wayland
|
|
||||||
export XDG_CURRENT_DESKTOP=Steam
|
|
||||||
export XDG_SESSION_TYPE=wayland
|
|
||||||
|
|
||||||
# Kill any existing compositor
|
|
||||||
pkill niri || true
|
|
||||||
|
|
||||||
# Start Steam in Big Picture mode with gamescope
|
|
||||||
exec steam-session
|
|
||||||
'')
|
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.obs-studio = {
|
programs.obs-studio = {
|
||||||
|
|||||||
@ -17,10 +17,17 @@
|
|||||||
|
|
||||||
## Think deeply about everything.
|
## Think deeply about everything.
|
||||||
When given a problem, break it down, abstract it out, understand the fundamentals, then solve it in the real world.
|
When given a problem, break it down, abstract it out, understand the fundamentals, then solve it in the real world.
|
||||||
|
|
||||||
|
## Misc
|
||||||
|
For long-running commands, make sure you set the timeout of the Bash tool provided to a larger value.
|
||||||
'';
|
'';
|
||||||
settings = {
|
settings = {
|
||||||
theme = "opencode";
|
theme = "opencode";
|
||||||
model = "z-ai/glm-4.6";
|
|
||||||
|
model = "z-ai/glm-4.6:floor";
|
||||||
|
# small model used for titles
|
||||||
|
small_model = "z-ai/glm-4-32b:floor";
|
||||||
|
|
||||||
autoshare = false;
|
autoshare = false;
|
||||||
autoupdate = true;
|
autoupdate = true;
|
||||||
provider = {
|
provider = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user