Add podman stuff correctly
Signed-off-by: Noah Knegt <git@noahknegt.com>
This commit is contained in:
@@ -3,5 +3,18 @@
|
|||||||
{
|
{
|
||||||
services.podman = {
|
services.podman = {
|
||||||
enable = true;
|
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
|
# Development
|
||||||
gcc
|
gcc
|
||||||
rustup
|
rustup
|
||||||
|
mqttui
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -125,6 +125,8 @@
|
|||||||
xfce.xfce4-whiskermenu-plugin
|
xfce.xfce4-whiskermenu-plugin
|
||||||
];
|
];
|
||||||
|
|
||||||
|
virtualisation.podman.enable = true9;
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
# on your system were taken. It's perfectly fine and recommended to leave
|
# on your system were taken. It's perfectly fine and recommended to leave
|
||||||
|
Reference in New Issue
Block a user