mirror of
https://codeberg.org/privacy1st/nix-git
synced 2025-03-17 13:19:31 +01:00
Merge remote-tracking branch 'origin/main'
# Conflicts: # nix/sources.json
This commit is contained in:
commit
f356007259
@ -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.
|
||||
|
@ -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 = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user