Build all images with nix-snapshotter

This commit is contained in:
Pim Kunis 2024-12-19 21:07:30 +01:00
parent ab3a068066
commit 708e6b4336
14 changed files with 125 additions and 184 deletions

View file

@ -42,7 +42,7 @@
spec = {
containers.attic = {
image = utils.nixSnapshotterRef (utils.mkNixNGImage "attic" "${self}/images/attic.nix");
image = utils.mkNixNGImage "attic";
ports.web.containerPort = 8080;
env = {

View file

@ -16,7 +16,7 @@
metadata.labels.app = "dnsmasq";
spec.containers.dnsmasq = {
image = utils.mkNixNGImage2 "dnsmasq";
image = utils.mkNixNGImage "dnsmasq";
imagePullPolicy = "Always";
ports.dns = {

View file

@ -2,7 +2,6 @@
lib,
config,
utils,
self,
...
}: {
options.ntfy.enable = lib.mkEnableOption "ntfy";
@ -26,7 +25,7 @@
spec = {
containers.ntfy = {
image = utils.nixSnapshotterRef (utils.mkNixNGImage "ntfy-sh" "${self}/images/ntfy-sh.nix");
image = utils.mkNixNGImage "ntfy";
ports.web.containerPort = 80;
env.TZ.value = "Europe/Amsterdam";

View file

@ -1,5 +1,4 @@
{
self,
config,
utils,
lib,
@ -27,7 +26,7 @@
spec = {
containers.radicale = {
image = utils.nixSnapshotterRef (utils.mkNixNGImage "radicale" "${self}/images/radicale.nix");
image = utils.mkNixNGImage "radicale";
ports.web.containerPort = 5232;
imagePullPolicy = "IfNotPresent";