Merge remote-tracking branch 'origin/main'

# Conflicts:
#	nix/sources.json
This commit is contained in:
Daniel Langbein 2025-03-11 17:13:08 +01:00
commit f356007259
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002
2 changed files with 23 additions and 1 deletions

View File

@ -127,6 +127,16 @@ in
sleep 60s
done
# Wait until no nix garbage collection service is running.
while :; do
running_services="$(systemctl list-units --type=service --plain --quiet | awk '{ print $1 }')"
if ! printf '%s' "''${running_services}" | grep '^nix-gc.service$'; then
break;
fi
printf '%s\n' 'Delaying suspend due to running nix garbage collection service.'
sleep 60s
done
# Send filtered journal by email.
systemctl start journalwatch.service ||:
# Send notification by email.

View File

@ -12,6 +12,7 @@ in
# # https://ollama.com/library/deepseek-r1
# "deepseek-r1:32b"
# "deepseek-r1:14b"
# "deepseek-r1:7b"
#];
};
@ -36,7 +37,18 @@ in
#
# https://docs.openwebui.com/getting-started/quick-start
# Admin Creation: The first account created on Open WebUI gains Administrator privileges, controlling user management and system settings.
# services.open-webui.enable = true;
#
#services.open-webui = {
#enable = true;
#package = pkgs.unstable.open-webui; # TODO back to stable nixpkgs
#port = 8080;
# Share via LAN
#
# Temporarily open firewall
# sudo nixos-firewall-tool open tcp 8080 && ip addr | grep 192
#host = "0.0.0.0"; # Also listen to connections from other hosts
#};
# Web-UI
# services.nextjs-ollama-llm-ui = {