dotfiles/modules/nixos/homelab/guests/opencloud/opencloudCeres/default.nix

26 lines
671 B
Nix
Raw Normal View History

2025-12-09 03:46:57 -06:00
{
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