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" + ]; + }; + }; +}