add memos to alexandria; remove pairdrop from alexandria
This commit is contained in:
parent
3b5c17df7c
commit
a23e7650ea
3 changed files with 25 additions and 14 deletions
|
|
@ -18,13 +18,13 @@ in
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./jellyfin.nix
|
./jellyfin.nix
|
||||||
./librespeed.nix
|
./librespeed.nix
|
||||||
|
./memos.nix
|
||||||
./minecraft.nix
|
./minecraft.nix
|
||||||
./nextcloud.nix
|
./nextcloud.nix
|
||||||
./nginx.nix
|
./nginx.nix
|
||||||
./paperless.nix
|
./paperless.nix
|
||||||
./searx.nix
|
./searx.nix
|
||||||
./services.nix
|
./services.nix
|
||||||
./pairdrop.nix
|
|
||||||
./users.nix
|
./users.nix
|
||||||
./vaultwarden.nix
|
./vaultwarden.nix
|
||||||
];
|
];
|
||||||
|
|
@ -43,7 +43,7 @@ in
|
||||||
qbittorrent = mkStringOption "8008";
|
qbittorrent = mkStringOption "8008";
|
||||||
actual = mkStringOption "8009";
|
actual = mkStringOption "8009";
|
||||||
pairdrop = mkStringOption "8010";
|
pairdrop = mkStringOption "8010";
|
||||||
logseq = mkStringOption "8011";
|
memos = mkStringOption "8011";
|
||||||
jellyfin = mkStringOption "8096";
|
jellyfin = mkStringOption "8096";
|
||||||
sonarr = mkStringOption "8989";
|
sonarr = mkStringOption "8989";
|
||||||
jackett = mkStringOption "9117";
|
jackett = mkStringOption "9117";
|
||||||
|
|
|
||||||
23
hosts/servers/alexandria/memos.nix
Normal file
23
hosts/servers/alexandria/memos.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
{ config, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
virtualisation.oci-containers.containers."memos" = {
|
||||||
|
image = "docker.io/neosmemo/memos:stable";
|
||||||
|
ports = [ "${config.ports.memos}:5230" ];
|
||||||
|
environment = {
|
||||||
|
TZ = "America/Bahia";
|
||||||
|
};
|
||||||
|
volumes = [ "/data/memos/:/var/opt/memos" ];
|
||||||
|
extraOptions = [
|
||||||
|
"--pull=newer"
|
||||||
|
"--label=io.containers.autoupdate=registry"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
services.nginx.virtualHosts."notes.baduhai.dev" = {
|
||||||
|
useACMEHost = "baduhai.dev";
|
||||||
|
forceSSL = true;
|
||||||
|
kTLS = true;
|
||||||
|
locations."/".proxyPass = "http://127.0.0.1:${config.ports.memos}";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
{ config, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
virtualisation.oci-containers.containers."pairdrop" = {
|
|
||||||
image = "lscr.io/linuxserver/pairdrop:latest";
|
|
||||||
ports = [ "${config.ports.pairdrop}:3000" ];
|
|
||||||
extraOptions = [
|
|
||||||
"--pull=newer"
|
|
||||||
"--label=io.containers.autoupdate=registry"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue