mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-13 10:00:52 -06:00
26 lines
628 B
Nix
Executable file
26 lines
628 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;
|
|
|
|
interface0Cfg = instances.jellyfin.interfaces.interface0;
|
|
|
|
jellyfinCeres = jellyfinVM {
|
|
user = user0;
|
|
ip = interface0Cfg.microvm.ip;
|
|
mac = interface0Cfg.microvm.mac;
|
|
userMac = interface0Cfg.microvm.macUser;
|
|
ssh = interface0Cfg.microvm.ssh;
|
|
mnt = mntPath;
|
|
host = interface0Cfg.domain;
|
|
};
|
|
|
|
in
|
|
jellyfinCeres
|