mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-13 10:00:52 -06:00
25 lines
693 B
Nix
Executable file
25 lines
693 B
Nix
Executable file
{
|
|
flake,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
inherit (import ../../../helpers.nix { inherit flake; }) 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
|