mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-13 18:10:54 -06:00
25 lines
671 B
Nix
25 lines
671 B
Nix
{
|
|
flake,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
inherit (import ../../helpers.nix) labHelpers;
|
|
inherit (labHelpers) mntPath;
|
|
inherit (import ../config { inherit flake pkgs; }) opencloudVM;
|
|
inherit (flake.config.people) user0;
|
|
inherit (flake.config.services.instances) opencloud;
|
|
|
|
interface0Cfg = opencloud.interfaces.interface0;
|
|
|
|
opencloudProject = opencloudVM {
|
|
user = user0;
|
|
ip = interface0Cfg.microvm.ip;
|
|
mac = interface0Cfg.microvm.mac;
|
|
userMac = interface0Cfg.microvm.macUser;
|
|
ssh = interface0Cfg.microvm.ssh;
|
|
mnt = mntPath;
|
|
host = "${interface0Cfg.subdomain}.${flake.inputs.linkpage.secrets.domains.projectsite}";
|
|
};
|
|
in
|
|
opencloudProject
|