From 340ab05be41c9c3bcb7ebbab8bfc6471ab3805d0 Mon Sep 17 00:00:00 2001 From: GarandPLG Date: Thu, 2 Jul 2026 17:30:36 +0200 Subject: [PATCH] Add Open WebUI desktop entry; enable in home MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Move openWebUI.enable from system-modules to home‑modules for desktop and laptop hosts - Remove flatpak entry for OpenWebUI - Add XDG desktop entry and bind Super‑Ctrl‑O to launch it via dex - Update Helium appimage to version 0.14.2.1 with new checksum --- hosts/Garand-Desktop/home-modules.nix | 1 + hosts/Garand-Desktop/system-modules.nix | 1 - hosts/Garand-Laptop/home-modules.nix | 1 + hosts/Garand-Laptop/system-modules.nix | 1 - hosts/default/home-modules.nix | 1 + hosts/default/system-modules.nix | 1 - modules/core/flatpak.nix | 1 - modules/core/packages/appimages/helium.nix | 4 ++-- modules/home/hyprland/binds.nix | 2 +- modules/home/xdg/desktop-entries.nix | 7 +++++++ 10 files changed, 13 insertions(+), 7 deletions(-) diff --git a/hosts/Garand-Desktop/home-modules.nix b/hosts/Garand-Desktop/home-modules.nix index aba3816..816cd3c 100644 --- a/hosts/Garand-Desktop/home-modules.nix +++ b/hosts/Garand-Desktop/home-modules.nix @@ -75,6 +75,7 @@ _: { claude.enable = true; # Claude: a large language model glance.enable = true; # Glance: my home server dashboard jellyfinClient.enable = true; # Jellyfin: My Jellyfin + openWebUI.enable = true; # Open WebUI: Comprehensive suite for LLMs with a user-friendly WebUI }; }; diff --git a/hosts/Garand-Desktop/system-modules.nix b/hosts/Garand-Desktop/system-modules.nix index 19d96bc..77a9ecd 100644 --- a/hosts/Garand-Desktop/system-modules.nix +++ b/hosts/Garand-Desktop/system-modules.nix @@ -12,7 +12,6 @@ _: { flatseal.enable = true; # Flatpak permissions manager upscaler.enable = true; # Upscaler: Upscale and enhance images arduino.enable = false; # Arduino: Open-source electronics prototyping platform - openWebUI.enable = true; # Open WebUI: Comprehensive suite for LLMs with a user-friendly WebUI }; }; diff --git a/hosts/Garand-Laptop/home-modules.nix b/hosts/Garand-Laptop/home-modules.nix index 77034bb..5cbbd81 100644 --- a/hosts/Garand-Laptop/home-modules.nix +++ b/hosts/Garand-Laptop/home-modules.nix @@ -75,6 +75,7 @@ _: { claude.enable = true; # Claude: a large language model glance.enable = true; # Glance: my home server dashboard jellyfinClient.enable = true; # Jellyfin: My Jellyfin + openWebUI.enable = true; # Open WebUI: Comprehensive suite for LLMs with a user-friendly WebUI }; }; diff --git a/hosts/Garand-Laptop/system-modules.nix b/hosts/Garand-Laptop/system-modules.nix index 0def8d6..f2c5e78 100644 --- a/hosts/Garand-Laptop/system-modules.nix +++ b/hosts/Garand-Laptop/system-modules.nix @@ -12,7 +12,6 @@ _: { flatseal.enable = true; # Flatpak permissions manager upscaler.enable = true; # Upscaler: Upscale and enhance images arduino.enable = false; # Arduino: Open-source electronics prototyping platform - openWebUI.enable = true; # Open WebUI: Comprehensive suite for LLMs with a user-friendly WebUI }; }; diff --git a/hosts/default/home-modules.nix b/hosts/default/home-modules.nix index a809678..e542af0 100644 --- a/hosts/default/home-modules.nix +++ b/hosts/default/home-modules.nix @@ -75,6 +75,7 @@ _: { claude.enable = false; # Claude: a large language model glance.enable = false; # Glance: my home server dashboard jellyfinClient.enable = false; # Jellyfin: My Jellyfin + openWebUI.enable = false; # Open WebUI: Comprehensive suite for LLMs with a user-friendly WebUI }; }; diff --git a/hosts/default/system-modules.nix b/hosts/default/system-modules.nix index c89e6cd..a1cf53a 100644 --- a/hosts/default/system-modules.nix +++ b/hosts/default/system-modules.nix @@ -12,7 +12,6 @@ _: { flatseal.enable = false; # Flatpak permissions manager upscaler.enable = false; # Upscaler: Upscale and enhance images arduino.enable = false; # Arduino: Open-source electronics prototyping platform - openWebUI.enable = false; # Open WebUI: Comprehensive suite for LLMs with a user-friendly WebUI }; }; diff --git a/modules/core/flatpak.nix b/modules/core/flatpak.nix index dec0132..bedd629 100644 --- a/modules/core/flatpak.nix +++ b/modules/core/flatpak.nix @@ -16,7 +16,6 @@ flatseal = "com.github.tchx84.Flatseal"; upscaler = "io.gitlab.theevilskeleton.Upscaler"; arduino = "cc.arduino.IDE2"; - openWebUI = "com.openwebui.open-webui"; }; in { options.flatpak.enable = lib.mkEnableOption "Flatpak"; diff --git a/modules/core/packages/appimages/helium.nix b/modules/core/packages/appimages/helium.nix index 7088044..0009ceb 100644 --- a/modules/core/packages/appimages/helium.nix +++ b/modules/core/packages/appimages/helium.nix @@ -4,8 +4,8 @@ fetchurl, }: let pname = "helium"; - version = "0.13.5.1"; - hash = "sha256-VAncL78nyXRRNUPZ2c0QudxFrfxy7tXE2NFN4teeezk="; + version = "0.14.2.1"; + hash = "sha256-JQQ5K+WUZ3ly5mklNPGZWDTlq+mJqqS02oJgC3in5U0="; src = fetchurl { url = "https://github.com/imputnet/helium-linux/releases/download/${version}/helium-${version}-x86_64.AppImage"; diff --git a/modules/home/hyprland/binds.nix b/modules/home/hyprland/binds.nix index b2d8d23..d332cd7 100644 --- a/modules/home/hyprland/binds.nix +++ b/modules/home/hyprland/binds.nix @@ -69,7 +69,7 @@ "SUPER CONTROL, G, exec, gimp #\"GNU Image Manipulation Program\"" "SUPER CONTROL, M, exec, mattermost-desktop #\"Mattermost team chat client\"" "SUPER CONTROL, N, exec, noctalia-shell ipc call plugin:ntfy-notifications refresh #\"Refresh ntfy\"" - "SUPER CONTROL, O, exec, flatpak run com.openwebui.open-webui #\"My own AI chat interface\"" + "SUPER CONTROL, O, exec, dex ${desktopEntriesPath}/openWebUI.desktop #\"My own AI chat interface\"" "SUPER CONTROL, R, exec, noctalia-shell ipc call plugin:screen-recorder toggle #\"Toogle screen recording\"" "SUPER CONTROL, S, exec, signal-desktop #\"Signal encrypted messaging\"" "SUPER CONTROL, T, exec, tsukimi #\"A simple Emby/Jellyfin Client\"" diff --git a/modules/home/xdg/desktop-entries.nix b/modules/home/xdg/desktop-entries.nix index e1d87e6..0e0a67a 100644 --- a/modules/home/xdg/desktop-entries.nix +++ b/modules/home/xdg/desktop-entries.nix @@ -69,6 +69,13 @@ iconUrl = "https://jellyfin.org/images/logo.svg"; iconSha = "sha256-sRSB2rxThd4+vMmdpRTz+bEKgdrmF5NG4I74I6kfCyY="; } + { + name = "openWebUI"; + displayName = "Open WebUI"; + url = "https://ai.garandplg.com"; + iconUrl = "https://ai.garandplg.com/static/favicon.png"; + iconSha = "sha256-Vpij45UT57YwTslsMJNzqzrw9w/nlCk0Yd45WpTeqmU="; + } ]; in { options.xdgDesktopEntries = {