From 2196c3d2bf709615ac89b0650f757ec703d556fc Mon Sep 17 00:00:00 2001 From: Trevor Vallender Date: Mon, 9 Oct 2023 16:44:13 +0100 Subject: [PATCH] Add wallabag to kernighan --- system/kernighan/kernighan.nix | 1 + system/shared/services/wallabag.nix | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 system/shared/services/wallabag.nix diff --git a/system/kernighan/kernighan.nix b/system/kernighan/kernighan.nix index fc9615a..522298f 100644 --- a/system/kernighan/kernighan.nix +++ b/system/kernighan/kernighan.nix @@ -11,6 +11,7 @@ ../shared/services/miniflux.nix ../shared/services/nginx.nix ../shared/services/radicale.nix + ../shared/services/wallabag.nix ]; networking = { diff --git a/system/shared/services/wallabag.nix b/system/shared/services/wallabag.nix new file mode 100644 index 0000000..12945d2 --- /dev/null +++ b/system/shared/services/wallabag.nix @@ -0,0 +1,17 @@ +{ config, pkgs, inputs, ... }: + +{ + virtualisation.oci-containers.containers = { + wallabag = { + image = "wallabag/wallabag:2.6.7"; + environment = { + SYMFONY__ENV__DOMAIN_NAME = "http://localhost"; + }; + volumes = [ + "/opt/wallabag/data:/var/www/wallabag/data", + "/opt/wallabag/images:/var/www/wallabag/images", + ]; + }; + }; +} +