mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-14 02:20:53 -06:00
31 lines
734 B
Nix
31 lines
734 B
Nix
{
|
|
flake,
|
|
pkgs,
|
|
labHelpers,
|
|
...
|
|
}:
|
|
let
|
|
inherit (labHelpers) mntPath;
|
|
inherit (import ./config { inherit flake pkgs; }) qbittorrentVM;
|
|
inherit (flake.config.people) user0;
|
|
inherit (flake.config.services) instances;
|
|
|
|
interface0Cfg = instances.qbittorrent.interfaces.interface0;
|
|
|
|
in
|
|
{
|
|
qbittorrentCeres = qbittorrentVM {
|
|
user = user0;
|
|
ip = interface0Cfg.microvm.ip;
|
|
mac = interface0Cfg.microvm.mac;
|
|
userMac = interface0Cfg.microvm.macUser;
|
|
ssh = interface0Cfg.microvm.ssh;
|
|
mnt = mntPath;
|
|
host = interface0Cfg.domain;
|
|
port = 51820;
|
|
endpoint = "185.111.110.1";
|
|
address = [ "10.2.0.2/32" ];
|
|
dns = [ "10.2.0.1" ];
|
|
key = "QPfiwJQmt5VLEOh1ufLbi1lj6LUnwQY0tgDSh3pWx1k=";
|
|
};
|
|
}
|