pericyte: add mirotalk to env
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
"${inputs.nixpkgs}/nixos/modules/profiles/headless.nix"
|
"${inputs.nixpkgs}/nixos/modules/profiles/headless.nix"
|
||||||
"${inputs.nixpkgs}/nixos/modules/profiles/minimal.nix"
|
"${inputs.nixpkgs}/nixos/modules/profiles/minimal.nix"
|
||||||
|
|
||||||
|
./servers.nix
|
||||||
./podman.nix
|
./podman.nix
|
||||||
./container-registry.nix
|
./container-registry.nix
|
||||||
# ./microvm-configuration.nix
|
# ./microvm-configuration.nix
|
||||||
|
|||||||
5
machines/pericyte/servers.nix
Normal file
5
machines/pericyte/servers.nix
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{ ... }: {
|
||||||
|
imports = [
|
||||||
|
./servers/public.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
5
machines/pericyte/servers/public.nix
Normal file
5
machines/pericyte/servers/public.nix
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{ ... }: {
|
||||||
|
imports = [
|
||||||
|
./public/mirotalk.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
8
machines/pericyte/servers/public/caddy.nix
Normal file
8
machines/pericyte/servers/public/caddy.nix
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.caddy = {
|
||||||
|
enable = true;
|
||||||
|
email = "davidcrompton1192@gmail.com";
|
||||||
|
};
|
||||||
|
}
|
||||||
18
machines/pericyte/servers/public/mirotalk.nix
Normal file
18
machines/pericyte/servers/public/mirotalk.nix
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{ config, pkgs, lib, ... }: {
|
||||||
|
nixpkgs.overlays = [(final: prev: {
|
||||||
|
mirotalk = prev.buildNpmPackage {
|
||||||
|
pname = "afterwriter";
|
||||||
|
version = "1.17.3-2025-09-24";
|
||||||
|
src = prev.fetchFromGitHub {
|
||||||
|
owner = "miroslavpejic85";
|
||||||
|
repo = "mirotalk";
|
||||||
|
rev = "";
|
||||||
|
hash = "";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
})];
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
mirotalk
|
||||||
|
];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user