{ flake, pkgs, nasHelpers, ... }: let inherit (import ./config { inherit flake pkgs; }) opencloudVM; inherit (flake.config.people) user0; inherit (flake.config.services) instances; inherit (nasHelpers) ipAddress guestPath opencloud; id0 = builtins.toString opencloud.id0; id1 = builtins.toString opencloud.id1; id2 = builtins.toString opencloud.id2; opencloudNick = opencloudVM { user = user0; ip = ipAddress id0; mac = "02:00:00:00:${id0}:${id0}"; userMac = "02:00:00:00:00:${id0}"; ssh = opencloud.ssh0; mnt = guestPath user0; host = instances.opencloud0.domains.url0; }; # opencloudStacie = opencloudVM { # user = "stacie"; # ip = ipAddress id1; # mac = "02:00:00:00:${id1}:${id1}"; # userMac = "02:00:00:00:00:${id1}"; # ssh = opencloud.ssh1; # mnt = guestPath "stacie"; # host = ""; # }; # opencloudGarnet = opencloudVM { # user = "garnet"; # ip = ipAddress id2; # mac = "02:00:00:00:${id2}:${id2}"; # userMac = "02:00:00:00:00:${id2}"; # ssh = opencloud.ssh2; # mnt = guestPath "garnet"; # host = ""; # }; in opencloudNick # // opencloudStacie // opencloudGarnet