Add podman stuff correctly

Signed-off-by: Noah Knegt <git@noahknegt.com>
This commit is contained in:
2025-03-01 15:20:32 +01:00
parent 842b7d8898
commit d702e47688
3 changed files with 16 additions and 0 deletions

View File

@@ -3,5 +3,18 @@
{
services.podman = {
enable = true;
containers = {
mqtt-broker = {
description = "MQTT broker";
image = "docker.io/library/eclipse-mosquitto:2.0.20";
ports = [
"1883:1883"
];
volumes = [
"/home/noahk/containers/mosquitto.conf:/mosquitto/config/mosquitto.conf:ro"
];
};
};
};
}

View File

@@ -67,6 +67,7 @@
# Development
gcc
rustup
mqttui
];
};

View File

@@ -125,6 +125,8 @@
xfce.xfce4-whiskermenu-plugin
];
virtualisation.podman.enable = true9;
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. It's perfectly fine and recommended to leave