feat: Update flakes

This commit is contained in:
2026-03-13 16:40:31 +05:30
parent 6b09de5afc
commit 2409574330
4 changed files with 129 additions and 88 deletions

View File

@@ -1,6 +1,7 @@
{
pkgs,
device,
lib,
...
}: {
programs.gamemode = {
@@ -12,7 +13,7 @@
custom = {
start = let
out = pkgs.writeScriptBin "gamemode-start" ''
${pkgs.lmstudio}/bin/lms unload
${lib.getExe pkgs.ollama} ps | tail +2 | cut -d' ' -f1 | xargs ${lib.getExe pkgs.ollama} stop
${pkgs.libnotify}/bin/notify-send 'GameMode started'
'';
in "${out}/bin/gamemode-start";