Get Pixelfed running on metal #24
|
@ -132,19 +132,19 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.fediversity.enable {
|
config = lib.mkIf config.fediversity.enable {
|
||||||
virtualisation.diskSize = 2048;
|
# virtualisation.diskSize = 2048;
|
||||||
virtualisation.forwardPorts = [
|
# virtualisation.forwardPorts = [
|
||||||
{
|
# {
|
||||||
from = "host";
|
# from = "host";
|
||||||
host.port = config.fediversity.internal.garage.rpc.port;
|
# host.port = config.fediversity.internal.garage.rpc.port;
|
||||||
guest.port = config.fediversity.internal.garage.rpc.port;
|
# guest.port = config.fediversity.internal.garage.rpc.port;
|
||||||
}
|
# }
|
||||||
{
|
# {
|
||||||
from = "host";
|
# from = "host";
|
||||||
host.port = config.fediversity.internal.garage.web.port;
|
# host.port = config.fediversity.internal.garage.web.port;
|
||||||
guest.port = config.fediversity.internal.garage.web.port;
|
# guest.port = config.fediversity.internal.garage.web.port;
|
||||||
}
|
# }
|
||||||
];
|
# ];
|
||||||
|
|
||||||
environment.systemPackages = [ pkgs.minio-client pkgs.awscli ];
|
environment.systemPackages = [ pkgs.minio-client pkgs.awscli ];
|
||||||
|
|
||||||
|
|
Reference in a new issue