From 94f2aa35b2bf40166c94f1069a5cfffcfc57a7e8 Mon Sep 17 00:00:00 2001 From: oqyude Date: Thu, 31 Jul 2025 17:02:00 +0300 Subject: [PATCH] 123 --- devices/server.nix | 8 ++++---- modules/server/ai.nix | 16 ++++++++-------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/devices/server.nix b/devices/server.nix index 9ea104c..041ef11 100755 --- a/devices/server.nix +++ b/devices/server.nix @@ -27,7 +27,7 @@ let ]; boot = { - kernelPackages = pkgs.linuxPackages_xanmod_stable; + #kernelPackages = pkgs.linuxPackages_xanmod_stable; hardwareScan = true; loader = { systemd-boot.enable = lib.mkDefault true; @@ -39,9 +39,9 @@ let bluetooth.enable = true; }; - swapDevices = [ - { device = "/dev/disk/by-partlabel/disk-main-swap"; } - ]; + # swapDevices = [ + # { device = "/dev/disk/by-partlabel/disk-main-swap"; } + # ]; users = { users = { diff --git a/modules/server/ai.nix b/modules/server/ai.nix index 4ae4c30..8952c1a 100755 --- a/modules/server/ai.nix +++ b/modules/server/ai.nix @@ -12,14 +12,14 @@ host = "0.0.0.0"; port = 11111; openFirewall = true; - environment = { - ANONYMIZED_TELEMETRY = "False"; - DO_NOT_TRACK = "True"; - SCARF_NO_ANALYTICS = "True"; - #OPENAI_API_BASE_URL = "http://127.0.0.1:1234/v1"; - #OLLAMA_API_BASE_URL = "http://127.0.0.1:1234"; - #WEBUI_AUTH = "False"; # Disable authentication - }; + # environment = { + # ANONYMIZED_TELEMETRY = "False"; + # DO_NOT_TRACK = "True"; + # SCARF_NO_ANALYTICS = "True"; + # #OPENAI_API_BASE_URL = "http://127.0.0.1:1234/v1"; + # #OLLAMA_API_BASE_URL = "http://127.0.0.1:1234"; + # #WEBUI_AUTH = "False"; # Disable authentication + # }; }; }; }