From cb5803882c2d6de7e7121263e70cf366e6543ed9 Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Mon, 29 Apr 2024 22:50:50 +0200 Subject: [PATCH] sigma: memos --- hosts/sigma/default.nix | 1 + hosts/sigma/memos.nix | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 hosts/sigma/memos.nix diff --git a/hosts/sigma/default.nix b/hosts/sigma/default.nix index d60d066..158921f 100644 --- a/hosts/sigma/default.nix +++ b/hosts/sigma/default.nix @@ -11,6 +11,7 @@ ./hardware.nix ./jellyfin.nix ./mail.nix + ./memos.nix ./network.nix ./sonarr.nix ]; diff --git a/hosts/sigma/memos.nix b/hosts/sigma/memos.nix new file mode 100644 index 0000000..05abcb8 --- /dev/null +++ b/hosts/sigma/memos.nix @@ -0,0 +1,18 @@ +{...}: { + virtualisation.oci-containers.containers = { + memos = { + # https://www.usememos.com/docs/install/self-hosting + image = "docker.io/neosmemo/memos:stable"; + environment = { + # https://github.com/usememos/memos/issues/2433#issuecomment-1797316081 + MEMOS_METRIC = "false"; + }; + ports = [ + "127.0.0.1:5230:5230" + ]; + volumes = [ + "memos:/var/opt/memos" + ]; + }; + }; +}