mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-13 10:00:52 -06:00
31 lines
822 B
Nix
Executable file
31 lines
822 B
Nix
Executable file
{
|
|
flake,
|
|
config,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
inherit (import ../../../helpers.nix { inherit flake; }) labHelpers;
|
|
inherit (labHelpers) mntPath;
|
|
inherit (import ../config { inherit config flake pkgs; }) qbittorrentVM;
|
|
inherit (flake.config.people) user0;
|
|
inherit (flake.config.services) instances;
|
|
|
|
interface0Cfg = instances.qbittorrent.interfaces.interface0;
|
|
|
|
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=";
|
|
};
|
|
in
|
|
qbittorrentCeres
|