diff --git a/flake.lock b/flake.lock index e840f9d..6e71fc6 100644 --- a/flake.lock +++ b/flake.lock @@ -20,11 +20,11 @@ }, "akkoma": { "locked": { - "lastModified": 1671652195, - "narHash": "sha256-zNk3f4JeEFMi4zUGkb9zvOVwGEIyrdvAB7fpfdy689s=", + "lastModified": 1672148221, + "narHash": "sha256-S97Fll+KFjZ7Hxs+GLRpE1GtqMfrnXtrAOaavcQirJ0=", "owner": "illdefined", "repo": "nixpkgs", - "rev": "b7bb266468617c1db8394b635904e627362c75f4", + "rev": "a9601933ea41b1af21554d9a6558f950e24619f5", "type": "github" }, "original": { @@ -57,11 +57,11 @@ "utils": "utils" }, "locked": { - "lastModified": 1668797197, - "narHash": "sha256-0w6iD3GSSQbIeSFVDzAAQZB+hDq670ZTms3d9XI+BtM=", + "lastModified": 1672327199, + "narHash": "sha256-pFlngSHXKBhAmbaKZ4FYtu57LLunG+vWdL7a5vw1RvQ=", "owner": "serokell", "repo": "deploy-rs", - "rev": "2a3c5f70eee04a465aa534d8bd4fcc9bb3c4a8ce", + "rev": "a5619f5660a00f58c2b7c16d89058e92327ac9b8", "type": "github" }, "original": { @@ -76,11 +76,11 @@ "nixpkgs": "nixpkgs_3" }, "locked": { - "lastModified": 1671710439, - "narHash": "sha256-+M/BGsD2wQVQjTh10BYnqpIk9WmFH8HeBWkg8eBYjHo=", + "lastModified": 1672310162, + "narHash": "sha256-J42FJetIAOu91szWXI3AH+hvONemnZVVqU17+dHaaw8=", "owner": "nix-community", "repo": "emacs-overlay", - "rev": "7f50dbe28566a45d5cb6de04d4ea09a7184a5f9e", + "rev": "d9ddea546f88f021ee6ab6a587eea9fa7c185b0c", "type": "github" }, "original": { @@ -92,11 +92,11 @@ "flake-compat": { "flake": false, "locked": { - "lastModified": 1648199409, - "narHash": "sha256-JwPKdC2PoVBkG6E+eWw3j6BMR6sL3COpYWfif7RVb8Y=", + "lastModified": 1668681692, + "narHash": "sha256-Ht91NGdewz8IQLtWZ9LCeNXMSXHUss+9COoqu6JLmXU=", "owner": "edolstra", "repo": "flake-compat", - "rev": "64a525ee38886ab9028e6f61790de0832aa3ef03", + "rev": "009399224d5e398d03b22badca40a37ac85412a1", "type": "github" }, "original": { @@ -167,11 +167,11 @@ "utils": "utils_2" }, "locked": { - "lastModified": 1671578428, - "narHash": "sha256-YmbpBcPaGz9KE2bC4xPvSdgCSMk0BmS/L3ePvy9TR/M=", + "lastModified": 1672318366, + "narHash": "sha256-DBUVFooXtE4boZk1LvJ8sTg3nxMmJvNAJQ4lpjxDH5U=", "owner": "nix-community", "repo": "home-manager", - "rev": "0f8bf4f92efa3c6168705b49a6788abb3612033a", + "rev": "cbacdaba3c7b361defb36e1cdfa03ae4e74eb4a8", "type": "github" }, "original": { @@ -285,11 +285,11 @@ }, "nixpkgs-master": { "locked": { - "lastModified": 1671724258, - "narHash": "sha256-btRTcdWYxfwnL8EJ5Pw40TsqXnjz/0gqc/SWWklrCZ8=", + "lastModified": 1672335071, + "narHash": "sha256-MZ2/ioXmrooR08M7KmTBTakVxpbzNMfWg+pJFFTz5UE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "f96112b57c05dcd91519c0e94c05e00ab116386e", + "rev": "d4513957f671620cbc768cd2b823139f105921e3", "type": "github" }, "original": { @@ -300,11 +300,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1648219316, - "narHash": "sha256-Ctij+dOi0ZZIfX5eMhgwugfvB+WZSrvVNAyAuANOsnQ=", + "lastModified": 1671417167, + "narHash": "sha256-JkHam6WQOwZN1t2C2sbp1TqMv3TVRjzrdoejqfefwrM=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "30d3d79b7d3607d56546dd2a6b49e156ba0ec634", + "rev": "bb31220cca6d044baa6dc2715b07497a2a7c4bc7", "type": "github" }, "original": { @@ -316,11 +316,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1671548329, - "narHash": "sha256-OrC6R6zihRjFqdKFF3/vD3bkz44poONSII8ncre1Wh0=", + "lastModified": 1672308958, + "narHash": "sha256-zLvAJ+XTI7gIlUqlrKj8j4+POZXDB6kUOnV0yBvSIMc=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "ba6ba2b90096dc49f448aa4d4d783b5081b1cc87", + "rev": "d879125d61a0be8ecb2afddaca8f2b0530db0260", "type": "github" }, "original": { @@ -330,11 +330,11 @@ }, "nixpkgs_4": { "locked": { - "lastModified": 1671200928, - "narHash": "sha256-mZfzDyzojwj6I0wyooIjGIn81WtGVnx6+avU5Wv+VKU=", + "lastModified": 1671983799, + "narHash": "sha256-Z2Ro6hFPZHkBqkVXY5/aBUzxi5xizQGvuHQ9+T5B/ks=", "owner": "nixos", "repo": "nixpkgs", - "rev": "757b82211463dd5ba1475b6851d3731dfe14d377", + "rev": "fad51abd42ca17a60fc1d4cb9382e2d79ae31836", "type": "github" }, "original": { @@ -346,11 +346,11 @@ }, "nixpkgs_5": { "locked": { - "lastModified": 1671359686, - "narHash": "sha256-3MpC6yZo+Xn9cPordGz2/ii6IJpP2n8LE8e/ebUXLrs=", + "lastModified": 1672262501, + "narHash": "sha256-ZNXqX9lwYo1tOFAqrVtKTLcJ2QMKCr3WuIvpN8emp7I=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "04f574a1c0fde90b51bf68198e2297ca4e7cccf4", + "rev": "e182da8622a354d44c39b3d7a542dc12cd7baa5f", "type": "github" }, "original": { @@ -550,11 +550,11 @@ }, "utils": { "locked": { - "lastModified": 1648297722, - "narHash": "sha256-W+qlPsiZd8F3XkzXOzAoR+mpFqzm3ekQkJNa+PIh1BQ=", + "lastModified": 1667395993, + "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", "owner": "numtide", "repo": "flake-utils", - "rev": "0f8662f1319ad6abf89b3380dd2722369fc51ade", + "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", "type": "github" }, "original": { @@ -644,11 +644,11 @@ ] }, "locked": { - "lastModified": 1671480147, - "narHash": "sha256-IzWdZL8jMNtyKsXXJjn2L4MsBeR52WBdhciPw4latHU=", + "lastModified": 1672225470, + "narHash": "sha256-CL81URMZdjwCbqYY+WqIZAo1aj9moWNPISJaRw2YwV4=", "owner": "nix-community", "repo": "NixOS-WSL", - "rev": "577d7919e4380e6905e69d4a5f8f48a41ca37187", + "rev": "79fa1eb78f746c30e41f1be76a209a407b25dc9d", "type": "github" }, "original": { @@ -671,11 +671,11 @@ ] }, "locked": { - "lastModified": 1670981519, - "narHash": "sha256-FgVACqPu3hCI0kg1qlTkoMVDbEsbf3OsskjbJrTMS9k=", + "lastModified": 1672333199, + "narHash": "sha256-sx7JlEYMIqXKpKOwrrJxqfxpKpCk3M7JlSgv8lSWHW8=", "owner": "Xe", "repo": "x", - "rev": "f01c4273bd0dae6cacdcbc15cf7cdb0dd4f8b93d", + "rev": "a0d4e64e9fa7c7fe1bf58ff4293cfb4f754676a9", "type": "github" }, "original": { diff --git a/hosts/akko/akkoma.nix b/hosts/akko/akkoma.nix index ddb1d33..edbfd44 100644 --- a/hosts/akko/akkoma.nix +++ b/hosts/akko/akkoma.nix @@ -77,6 +77,11 @@ in { services.postgresql.enable = true; services.postgresql.package = pkgs.postgresql_15; + services.postgresql.settings = { + listen_addresses = "100.106.53.73,fd7a:115c:a1e0:ab12:4843:cd96:626a:3549,localhost"; + }; + + services.postgresqlBackup.enable = true; services.nginx.commonHttpConfig = '' proxy_cache_path /var/cache/nginx/akkoma-media-cache