Compare commits
2 commits
83f515f60a
...
1cec05270e
Author | SHA1 | Date | |
---|---|---|---|
1cec05270e | |||
76e6e99460 |
3 changed files with 25 additions and 4 deletions
8
flake.lock
generated
8
flake.lock
generated
|
@ -228,11 +228,11 @@
|
||||||
},
|
},
|
||||||
"secrets": {
|
"secrets": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1714422881,
|
"lastModified": 1714423975,
|
||||||
"narHash": "sha256-HSmkgafU4Ge4b02MYytuG2HsPjsk2ZLKfigcqektFbA=",
|
"narHash": "sha256-uxipcpP/qICN5VfIpLzzGorVmU8FUvADnVNsfB+Sxmo=",
|
||||||
"ref": "refs/heads/master",
|
"ref": "refs/heads/master",
|
||||||
"rev": "833bd4232b64b3cd84385f1e1faa058ac49db2b1",
|
"rev": "6d65c05c19961bd0874240810446378cd04c0257",
|
||||||
"revCount": 33,
|
"revCount": 34,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "ssh://git@git.caspervk.net/caspervk/nixos-secrets.git"
|
"url": "ssh://git@git.caspervk.net/caspervk/nixos-secrets.git"
|
||||||
},
|
},
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
./hardware.nix
|
./hardware.nix
|
||||||
./jellyfin.nix
|
./jellyfin.nix
|
||||||
./mail.nix
|
./mail.nix
|
||||||
|
./memos.nix
|
||||||
./network.nix
|
./network.nix
|
||||||
./sonarr.nix
|
./sonarr.nix
|
||||||
];
|
];
|
||||||
|
|
20
hosts/sigma/memos.nix
Normal file
20
hosts/sigma/memos.nix
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
{...}: {
|
||||||
|
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 = [
|
||||||
|
# TODO: for some *very* weird reason, exposing the port does not work
|
||||||
|
# if we use the same port on the host and inside the container. Why??
|
||||||
|
"127.0.0.1:5231:5230"
|
||||||
|
];
|
||||||
|
volumes = [
|
||||||
|
"memos:/var/opt/memos"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue