This commit is contained in:
Leon Liu 2024-11-18 18:46:38 +09:00
parent 30e959d305
commit 2c74937d34

View File

@ -2,14 +2,21 @@
# your system. Help is available in the configuration.nix(5) man page # your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help). # and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, lib, ... }: { pkgs, lib, ... }:
let let
kubeMasterIP = "192.168.11.2"; kubeMasterIP = "192.168.11.2";
kubeMasterHostname = "api.kube"; kubeMasterHostname = "api.kube";
kubeMasterAPIServerPort = 6443; kubeMasterAPIServerPort = 6443;
in in
{ {
nixpkgs.overlays = [
(final: prev: {
open-webui = prev.open-webui.overridePythonAttrs(old: {
dependencies = old.dependencies ++ [pkgs.python311Packages.emoji];
});
})
];
imports = imports =
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix