bwa
This commit is contained in:
@@ -21,6 +21,8 @@
|
|||||||
modules.stylix
|
modules.stylix
|
||||||
modules.quickshell
|
modules.quickshell
|
||||||
modules.lavd
|
modules.lavd
|
||||||
|
modules.podman
|
||||||
|
modules.openvivo
|
||||||
];
|
];
|
||||||
nixos =
|
nixos =
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|||||||
@@ -0,0 +1,35 @@
|
|||||||
|
{
|
||||||
|
den,
|
||||||
|
modules,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
modules.openvivo = {
|
||||||
|
nixos =
|
||||||
|
{ pkgs, ... }:
|
||||||
|
let
|
||||||
|
llama = pkgs.fetchFromGitHub ({
|
||||||
|
owner = "ravi9";
|
||||||
|
repo = "llama.cpp";
|
||||||
|
rev = "1117e77";
|
||||||
|
hash = lib.fakeHash;
|
||||||
|
});
|
||||||
|
in
|
||||||
|
{
|
||||||
|
virtualisation.oci-containers.backend = "podman";
|
||||||
|
virtualisation.oci-containers.containers = {
|
||||||
|
container-name = {
|
||||||
|
image = "${llama}/.devops/openvivo.Dockerfile"; # Or use `build` for remote Git
|
||||||
|
# build = {
|
||||||
|
# context = llama;
|
||||||
|
# dockerfile = "Dockerfile"; # Optional, if not root
|
||||||
|
# args = { }; # Optional build args
|
||||||
|
# };
|
||||||
|
autoStart = true;
|
||||||
|
ports = [ "127.0.0.1:1234:1234" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user