mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-16 11:30:53 -06:00
26 lines
622 B
Nix
Executable file
26 lines
622 B
Nix
Executable file
{
|
|
flake,
|
|
config,
|
|
...
|
|
}:
|
|
let
|
|
inherit (import ../../../helpers.nix { inherit flake; }) labHelpers;
|
|
inherit (labHelpers) mntPath;
|
|
inherit (import ../config { inherit flake config; }) jellyfinVM;
|
|
inherit (flake.config.people) user0;
|
|
inherit (flake.config.services) instances;
|
|
|
|
interfaceCfg = instances.jellyfin.interfaces.interface0;
|
|
|
|
jellyfinCeres = jellyfinVM {
|
|
user = user0;
|
|
ip = interfaceCfg.microvm.ip;
|
|
mac = interfaceCfg.microvm.mac;
|
|
userMac = interfaceCfg.microvm.macUser;
|
|
ssh = interfaceCfg.microvm.ssh;
|
|
mnt = mntPath;
|
|
host = interfaceCfg.domain;
|
|
};
|
|
|
|
in
|
|
jellyfinCeres
|