From 8f1383df4b73d04fa82f876ea78c91e4861c21ee Mon Sep 17 00:00:00 2001 From: GarandPLG Date: Tue, 23 Jun 2026 22:46:34 +0200 Subject: [PATCH] Enable Open WebUI as system module Add flatpak identifier for Open WebUI, move its enable flag from home modules to system modules, and remove the corresponding XDG desktop entry. --- 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/home/xdg/desktop-entries.nix | 7 ------- 8 files changed, 4 insertions(+), 10 deletions(-) diff --git a/hosts/Garand-Desktop/home-modules.nix b/hosts/Garand-Desktop/home-modules.nix index 816cd3c..aba3816 100644 --- a/hosts/Garand-Desktop/home-modules.nix +++ b/hosts/Garand-Desktop/home-modules.nix @@ -75,7 +75,6 @@ _: { 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 77a9ecd..19d96bc 100644 --- a/hosts/Garand-Desktop/system-modules.nix +++ b/hosts/Garand-Desktop/system-modules.nix @@ -12,6 +12,7 @@ _: { 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 5cbbd81..77034bb 100644 --- a/hosts/Garand-Laptop/home-modules.nix +++ b/hosts/Garand-Laptop/home-modules.nix @@ -75,7 +75,6 @@ _: { 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 f2c5e78..0def8d6 100644 --- a/hosts/Garand-Laptop/system-modules.nix +++ b/hosts/Garand-Laptop/system-modules.nix @@ -12,6 +12,7 @@ _: { 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 e542af0..a809678 100644 --- a/hosts/default/home-modules.nix +++ b/hosts/default/home-modules.nix @@ -75,7 +75,6 @@ _: { 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 a1cf53a..c89e6cd 100644 --- a/hosts/default/system-modules.nix +++ b/hosts/default/system-modules.nix @@ -12,6 +12,7 @@ _: { 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 bedd629..dec0132 100644 --- a/modules/core/flatpak.nix +++ b/modules/core/flatpak.nix @@ -16,6 +16,7 @@ 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/home/xdg/desktop-entries.nix b/modules/home/xdg/desktop-entries.nix index 0e0a67a..e1d87e6 100644 --- a/modules/home/xdg/desktop-entries.nix +++ b/modules/home/xdg/desktop-entries.nix @@ -69,13 +69,6 @@ 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 = {