Add podman stuff correctly
Signed-off-by: Noah Knegt <git@noahknegt.com>
This commit is contained in:
@@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
@@ -67,6 +67,7 @@
|
||||
# Development
|
||||
gcc
|
||||
rustup
|
||||
mqttui
|
||||
];
|
||||
};
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user