mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 12:40:44 +03:00
123
This commit is contained in:
Generated
+4
-4
@@ -392,17 +392,17 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-webui": {
|
"nixpkgs-webui": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1748501411,
|
"lastModified": 1752779427,
|
||||||
"narHash": "sha256-q70mzUJkTD9TnG0R98t4LH6BtiCNV+NfM/QAUbseGGo=",
|
"narHash": "sha256-bASbG3Er3gPw24+1zpk6gNU2eVXbssquQJMoSJPnP5Y=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "72353fc1fa61189fb76133d50c519e871c858c39",
|
"rev": "e63467437ce61d8d9a36e09254e8d07b472da0c6",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "72353fc1fa61189fb76133d50c519e871c858c39",
|
"rev": "e63467437ce61d8d9a36e09254e8d07b472da0c6",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||||
nixpkgs-last-unstable.url = "github:NixOS/nixpkgs/6b4955211758ba47fac850c040a27f23b9b4008f"; # 6027c30c8e9810896b92429f0092f624f7b1aace
|
nixpkgs-last-unstable.url = "github:NixOS/nixpkgs/6b4955211758ba47fac850c040a27f23b9b4008f"; # 6027c30c8e9810896b92429f0092f624f7b1aace
|
||||||
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||||
nixpkgs-webui.url = "github:NixOS/nixpkgs/72353fc1fa61189fb76133d50c519e871c858c39"; # 72353fc1fa61189fb76133d50c519e871c858c39 # 5b38c7435fb1112a8b36b1652286996a7998c5b5
|
nixpkgs-webui.url = "github:NixOS/nixpkgs/e63467437ce61d8d9a36e09254e8d07b472da0c6"; # 72353fc1fa61189fb76133d50c519e871c858c39 # 5b38c7435fb1112a8b36b1652286996a7998c5b5
|
||||||
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.05";
|
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.05";
|
||||||
nixpkgs-fingerprint.url = "github:NixOS/nixpkgs/nixos-24.11";
|
nixpkgs-fingerprint.url = "github:NixOS/nixpkgs/nixos-24.11";
|
||||||
nixos.url = "github:NixOS/nixpkgs/nixos-unstable";
|
nixos.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
unfree = import inputs.nixpkgs-webui {
|
fix = import inputs.nixos {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
}; # temp
|
}; # temp
|
||||||
@@ -15,7 +15,7 @@ in
|
|||||||
services = {
|
services = {
|
||||||
open-webui = {
|
open-webui = {
|
||||||
enable = true;
|
enable = true;
|
||||||
#package = unfree.open-webui;
|
package = fix.open-webui;
|
||||||
host = "0.0.0.0";
|
host = "0.0.0.0";
|
||||||
port = 11111;
|
port = 11111;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
@@ -25,7 +25,10 @@ in
|
|||||||
SCARF_NO_ANALYTICS = "True";
|
SCARF_NO_ANALYTICS = "True";
|
||||||
OPENAI_API_BASE_URL = "http://localhost:1234/v1";
|
OPENAI_API_BASE_URL = "http://localhost:1234/v1";
|
||||||
#OLLAMA_API_BASE_URL = "http://127.0.0.1:1234";
|
#OLLAMA_API_BASE_URL = "http://127.0.0.1:1234";
|
||||||
#WEBUI_AUTH = "False"; # Disable authentication
|
WEBUI_AUTH = "True"; # Disable authentication
|
||||||
|
ENABLE_SIGNUP = "True";
|
||||||
|
ENABLE_SIGNUP_PASSWORD_CONFIRMATION = "True";
|
||||||
|
ENABLE_VERSION_UPDATE_CHECK = "False";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user