{ pkgs, config, ... }: let inherit (config.terraform) hostname domain initialUser; in { imports = [ ../services/fediversity ./resource.nix ]; fediversityVm.name = hostname; fediversity = { inherit domain; temp.initialUser = { inherit (initialUser) username email displayName; # FIXME: disgusting, but nvm, this is going to be replaced by # proper central authentication at some point passwordFile = pkgs.writeText "password" initialUser.password; }; }; }