mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2026-04-19 11:08:58 +00:00
update system
This commit is contained in:
@@ -80,6 +80,7 @@
|
|||||||
wireshark = prev.wireshark.overrideAttrs (
|
wireshark = prev.wireshark.overrideAttrs (
|
||||||
finalAttrs: prevAttrs: {
|
finalAttrs: prevAttrs: {
|
||||||
postInstall = prevAttrs.postInstall + ''
|
postInstall = prevAttrs.postInstall + ''
|
||||||
|
mkdir -p $out/lib/wireshark/extcap
|
||||||
ln -s ${final.usb-sniffer}/bin/usb_sniffer $out/lib/wireshark/extcap/usb_sniffer
|
ln -s ${final.usb-sniffer}/bin/usb_sniffer $out/lib/wireshark/extcap/usb_sniffer
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
usecases = {
|
usecases = {
|
||||||
gaming.enable = true;
|
gaming.enable = true;
|
||||||
|
localai.enable = true;
|
||||||
"3d-printing".enable = true;
|
"3d-printing".enable = true;
|
||||||
development = {
|
development = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -119,7 +120,7 @@
|
|||||||
programs = {
|
programs = {
|
||||||
zsh.enable = true;
|
zsh.enable = true;
|
||||||
wireshark = {
|
wireshark = {
|
||||||
enable = false;
|
enable = true;
|
||||||
package = pkgs.wireshark;
|
package = pkgs.wireshark;
|
||||||
usbmon.enable = true;
|
usbmon.enable = true;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
|
username,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@@ -15,10 +16,6 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
networking.hosts = {
|
|
||||||
"127.0.0.1:57461" = [ "ai.local" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
ollama.enable = true;
|
ollama.enable = true;
|
||||||
open-webui = {
|
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" ];
|
||||||
|
};
|
||||||
|
*/
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user