From 325705f4cb310a913505d6e5f654d31bb90daeb0 Mon Sep 17 00:00:00 2001 From: servius Date: Wed, 11 Mar 2026 13:08:17 +0530 Subject: [PATCH] feat: Disable ollama for shiro (mlx not working) --- home/apps/default.nix | 3 +++ home/apps/moonlight.nix | 8 ++++++++ home/services/default.nix | 2 +- home/services/xdg.nix | 10 +++++----- 4 files changed, 17 insertions(+), 6 deletions(-) create mode 100644 home/apps/moonlight.nix diff --git a/home/apps/default.nix b/home/apps/default.nix index 305908b7..f938776c 100644 --- a/home/apps/default.nix +++ b/home/apps/default.nix @@ -27,6 +27,9 @@ lib.optionalAttrs device.hasGui { # ./vial.nix # ./vlc.nix # ./vscode.nix + # ./zen.nix + + ./moonlight.nix # ./zed.nix ./affine.nix diff --git a/home/apps/moonlight.nix b/home/apps/moonlight.nix new file mode 100644 index 00000000..5c4ee324 --- /dev/null +++ b/home/apps/moonlight.nix @@ -0,0 +1,8 @@ +{ + lib, + pkgs, + device, + ... +}: { + home.packages = lib.optionals (device.name == "ryu") [pkgs.moonlight-qt]; +} diff --git a/home/services/default.nix b/home/services/default.nix index 4642ac07..62cf945d 100644 --- a/home/services/default.nix +++ b/home/services/default.nix @@ -8,7 +8,7 @@ ./ironbar ./kdeconnect.nix ./remmina.nix - ./ollama.nix + # ./ollama.nix ./swaync.nix ./swayosd.nix ./xdg.nix diff --git a/home/services/xdg.nix b/home/services/xdg.nix index acdc3167..8f14043a 100644 --- a/home/services/xdg.nix +++ b/home/services/xdg.nix @@ -4,8 +4,7 @@ device, inputs, ... -}: -{ +}: { xdg.portal = { enable = device.is "ryu"; config = { @@ -14,6 +13,7 @@ }; }; } -// lib.optionalAttrs (device.is "ryu") { - environment.pathsToLink = ["/share/xdg-desktop-portal" "/share/applications"]; -} +# // lib.optionalAttrs (device.is "ryu") { +# environment.pathsToLink = ["/share/xdg-desktop-portal" "/share/applications"]; +# } +