Update flake.nix
This commit is contained in:
parent
671a28d9f5
commit
6aee571407
|
@ -13,9 +13,9 @@
|
|||
packages = forAllSystems (system:
|
||||
let
|
||||
python = pkgs.${system}.python3.withPackages (ps: [ps.flask ps.flask-socketio]);
|
||||
ozaiWebui = import ./default.nix { inherit (pkgs.${system}) pkgs; };
|
||||
ozai-webui = import ./default.nix { inherit (pkgs.${system}) pkgs; };
|
||||
in {
|
||||
default = ozaiWebui;
|
||||
default = ozai-webui;
|
||||
});
|
||||
|
||||
devShells = forAllSystems (system:
|
||||
|
@ -64,7 +64,7 @@
|
|||
after = [ "network.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig = {
|
||||
ExecStart = "${ozaiWebui}/bin/ozai-webui --port ${toString config.services.ozai-webui.port} --host '${config.services.ozai-webui.host}' --ozai_url '${config.services.ozai-webui.ozaiUrl}' --secret_key '${config.services.ozai-webui.secretKey}' --static_folder '/share/ozai-webui/static' --template_folder '/share/ozai-webui/templates'";
|
||||
ExecStart = "${ozai-webui}/bin/ozai-webui --port ${toString config.services.ozai-webui.port} --host '${config.services.ozai-webui.host}' --ozai_url '${config.services.ozai-webui.ozaiUrl}' --secret_key '${config.services.ozai-webui.secretKey}' --static_folder '/share/ozai-webui/static' --template_folder '/share/ozai-webui/templates'";
|
||||
Restart = "always";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue