nanokvm usb

This commit is contained in:
2026-09-12 19:29:27 +09:00
parent ebef49064c
commit ac60dc343b
6 changed files with 42 additions and 5 deletions
@@ -0,0 +1,5 @@
{
description = "Sipeed NanoKVM-USB desktop client";
includes = [ "services.nanokvm-usb" ];
}
@@ -0,0 +1,23 @@
{ pkgs, ... }:
let
nanokvm-usb = pkgs.appimageTools.wrapType2 rec {
pname = "nanokvm-usb";
version = "1.1.4";
src = pkgs.fetchurl {
url = "https://github.com/sipeed/NanoKVM-USB/releases/download/v${version}/NanoKVM-USB-${version}-linux-x86_64.AppImage";
hash = "sha256-00MT4U2afv0qt3xFVhLr0SSmS2cLrKBlmfzqYEFuaVc=";
};
meta = {
description = "Sipeed NanoKVM-USB desktop client";
homepage = "https://github.com/sipeed/NanoKVM-USB";
license = pkgs.lib.licenses.gpl3Only;
platforms = [ "x86_64-linux" ];
mainProgram = "nanokvm-usb";
};
};
in
{
environment.systemPackages = [ nanokvm-usb ];
}
+3 -2
View File
@@ -75,8 +75,9 @@ Neovim, Yazi, and the remaining interactive command-line tools.
`workload.machine-learning` provides the Hugging Face Hub CLI for hosts used
to download and publish machine learning models and datasets.
`workload.network-lab` provides containerlab using its upstream NixOS module
and the Docker service. It is selected by galleria and x1g13.
`workload.network-lab` provides containerlab using its upstream NixOS module,
the Docker service, and the NanoKVM-USB desktop client with serial-port access.
It is selected by galleria and x1g13.
`workload.photography` provides darktable with AI support from the locked
unstable package set. Its ONNX Runtime uses CUDA when the NVIDIA hardware unit
@@ -1,5 +1,8 @@
{
description = "Container-based network lab environment";
description = "Network lab and hardware console environment";
includes = [ "applications.containerlab" ];
includes = [
"applications.containerlab"
"applications.nanokvm-usb"
];
}
+4
View File
@@ -0,0 +1,4 @@
{ primaryUser, ... }:
{
users.users.${primaryUser}.extraGroups = [ "dialout" ];
}