Update flake.nix

This commit is contained in:
Adrian Gunnar Lauterer 2024-05-29 17:33:55 +02:00
parent 671a28d9f5
commit 6aee571407
1 changed files with 3 additions and 3 deletions

View File

@ -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";
};
};