diff --git a/frontend-modern/src/components/Settings/HostAgents.tsx b/frontend-modern/src/components/Settings/HostAgents.tsx
index c8de952..16883cd 100644
--- a/frontend-modern/src/components/Settings/HostAgents.tsx
+++ b/frontend-modern/src/components/Settings/HostAgents.tsx
@@ -1,4 +1,4 @@
-import { Component, For, Show, createEffect, createMemo, createSignal, onMount } from 'solid-js';
+import { type Component, For, Show, createEffect, createMemo, createSignal, onMount } from 'solid-js';
import type { JSX } from 'solid-js';
import { useWebSocket } from '@/App';
import type { Host } from '@/types/api';
@@ -11,6 +11,9 @@ import { HOST_AGENT_SCOPE } from '@/constants/apiScopes';
import type { SecurityStatus } from '@/types/config';
import type { APITokenRecord } from '@/api/security';
import { useScopedTokenManager } from '@/hooks/useScopedTokenManager';
+import Monitor from 'lucide-solid/icons/monitor';
+import Laptop from 'lucide-solid/icons/laptop';
+import Computer from 'lucide-solid/icons/computer';
type HostAgentVariant = 'all' | 'linux' | 'macos' | 'windows';
@@ -20,36 +23,24 @@ interface HostAgentsProps {
type HostPlatform = 'linux' | 'macos' | 'windows';
-const hostPlatformOptions: { id: HostPlatform; label: string; description: string; icon: JSX.Element }[] = [
+const hostPlatformOptions: { id: HostPlatform; label: string; description: string; icon: typeof Monitor }[] = [
{
id: 'linux',
label: 'Linux',
description: 'Download the static binary and enable the systemd service on Debian, Ubuntu, RHEL, Arch, and more.',
- icon: (
-
- ),
+ icon: Monitor,
},
{
id: 'macos',
label: 'macOS',
description: 'Use the universal binary with launchd to keep desktops and hosts reporting in the background.',
- icon: (
-
- ),
+ icon: Laptop,
},
{
id: 'windows',
label: 'Windows',
description: 'Native Windows service with automatic startup. PowerShell script handles binary download and service installation.',
- icon: (
-
- ),
+ icon: Computer,
},
];
@@ -343,6 +334,7 @@ export const HostAgents: Component = (props) => {
{(option) => {
const isActive = () => selectedPlatform() === option.id;
+ const Icon = option.icon;
return (