update system

This commit is contained in:
2026-03-27 14:52:11 +01:00
parent c26512c3db
commit 1ba0b48cf3
3 changed files with 17 additions and 5 deletions

View File

@@ -80,6 +80,7 @@
wireshark = prev.wireshark.overrideAttrs (
finalAttrs: prevAttrs: {
postInstall = prevAttrs.postInstall + ''
mkdir -p $out/lib/wireshark/extcap
ln -s ${final.usb-sniffer}/bin/usb_sniffer $out/lib/wireshark/extcap/usb_sniffer
'';
}

View File

@@ -23,6 +23,7 @@
usecases = {
gaming.enable = true;
localai.enable = true;
"3d-printing".enable = true;
development = {
enable = true;
@@ -119,7 +120,7 @@
programs = {
zsh.enable = true;
wireshark = {
enable = false;
enable = true;
package = pkgs.wireshark;
usbmon.enable = true;
};

View File

@@ -1,6 +1,7 @@
{
config,
lib,
username,
...
}:
@@ -15,10 +16,6 @@ in
};
config = mkIf cfg.enable {
networking.hosts = {
"127.0.0.1:57461" = [ "ai.local" ];
};
services = {
ollama.enable = true;
open-webui = {
@@ -32,5 +29,18 @@ in
};
};
};
/*
virtualisation.oci-containers.containers.open-terminal =
let
xdg = config.home-manager.users.${username}.xdg;
in
{
podman.user = "${username}";
image = "ghcr.io/open-webui/open-terminal";
volumes = [ "${xdg.dataHome}/open-terminal:/home/user" ];
ports = [ "54183:8000" ];
extraOptions = [ "--env-file=${xdg.configHome}/open-terminal.env" ];
};
*/
};
}