for now, we have to stop using vmVariant so the test works

This commit is contained in:
Taeer Bar-Yam 2024-07-18 08:22:47 -04:00
parent dab12bc2b8
commit 0f8972a8f0
2 changed files with 16 additions and 16 deletions

View file

@ -84,4 +84,6 @@ When mastodon is running in production mode, we have a few problems:
- mastodon is trying to fetch `missing.png` without ssl (`http://`). This isn't allowed, and i'm not sure why it's doing it. - mastodon is trying to fetch `missing.png` without ssl (`http://`). This isn't allowed, and i'm not sure why it's doing it.
- mastodon is trying to fetch `custom.css` from https://mastodon.localhost (no port), which is not the configured `LOCAL_DOMAIN`, so it's unclear why. - mastodon is trying to fetch `custom.css` from https://mastodon.localhost (no port), which is not the configured `LOCAL_DOMAIN`, so it's unclear why.
NixOS tests do not take the configuration from `virtualisation.vmVariant`. This seems like an oversight since people don't tend to mix normal NixOS configurations with the ones they're using for tests. This should be pretty easy to rectify upstream.

View file

@ -125,7 +125,6 @@ in {
}; };
config = { config = {
virtualisation.vmVariant = { config, ... }: {
virtualisation.diskSize = 2048; virtualisation.diskSize = 2048;
virtualisation.forwardPorts = [ virtualisation.forwardPorts = [
{ {
@ -141,7 +140,6 @@ in {
]; ];
environment.systemPackages = [ pkgs.minio-client pkgs.awscli ]; environment.systemPackages = [ pkgs.minio-client pkgs.awscli ];
};
networking.firewall.allowedTCPPorts = [ 3901 3902 ]; networking.firewall.allowedTCPPorts = [ 3901 3902 ];
services.garage = { services.garage = {