ssh-zoldene-decrypt:
$(MAKE) ssh-decrypt TARGET=$(@:ssh-%-decrypt=%)
ssh-decrypt:
+ until ping -c1 $(TARGET); do :; done
./scripts/with_env bash -c 'ssh -p 2222 -i $$SSH_IDENTITY_FILE root@$(TARGET) $(SSH_ARGS)'
.PHONY: debug $(addprefix debug-,$(nodes))
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-d0pFztjW1zKsfockL6q1bvRvkDN9A257733dxU3nhmQ=",
+ "narHash": "sha256-N8FlN9eUGGmz7MevjaGC7Y07AEebJGRzcESmOW87/0Q=",
"path": "../flakes",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-Fm13ywWMQlFSAxCWxI+lexO1IetZ1NPrqmBssLMLHpA=",
+ "narHash": "sha256-OvT4dJGxdFBUgwjTu6FzejI/euWYXWsX1vD952B8934=",
"path": "../systems/eldiron",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-M3GhXYoHnWpmutLwY4HSpS9+6gNyLG/DWzErI5BKjNI=",
+ "narHash": "sha256-Q+U6JxtY67jVPjuzfwrjSGmIM73kIRrjKm0ihbUxPGQ=",
"path": "../systems/zoldene",
"type": "path"
},
"nixpkgs": "nixpkgs_106"
},
"locked": {
- "lastModified": 1709824287,
- "narHash": "sha256-pco5zdRz/nN5v6olGD1vTl+ryq0KMK5cbaruisR/qUY=",
+ "lastModified": 1713004475,
+ "narHash": "sha256-zXj5DiaeAiLGIFcgMyQTtICXg4kgIiiYcTbnDIocY38=",
"ref": "master",
- "rev": "9b6bd6cf504abac4d8e794f38b8e2efbf015686f",
- "revCount": 726,
+ "rev": "8fd3e35df106a494e3195708e8cba076f2c94acb",
+ "revCount": 728,
"type": "git",
"url": "git+ssh://gitolite@git.immae.eu/perso/Immae/Config/Nix/Nixops/Secrets"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-d0pFztjW1zKsfockL6q1bvRvkDN9A257733dxU3nhmQ=",
+ "narHash": "sha256-N8FlN9eUGGmz7MevjaGC7Y07AEebJGRzcESmOW87/0Q=",
"path": "./flakes",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-Fm13ywWMQlFSAxCWxI+lexO1IetZ1NPrqmBssLMLHpA=",
+ "narHash": "sha256-OvT4dJGxdFBUgwjTu6FzejI/euWYXWsX1vD952B8934=",
"path": "../systems/eldiron",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-M3GhXYoHnWpmutLwY4HSpS9+6gNyLG/DWzErI5BKjNI=",
+ "narHash": "sha256-Q+U6JxtY67jVPjuzfwrjSGmIM73kIRrjKm0ihbUxPGQ=",
"path": "../systems/zoldene",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-Fm13ywWMQlFSAxCWxI+lexO1IetZ1NPrqmBssLMLHpA=",
+ "narHash": "sha256-OvT4dJGxdFBUgwjTu6FzejI/euWYXWsX1vD952B8934=",
"path": "../systems/eldiron",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-M3GhXYoHnWpmutLwY4HSpS9+6gNyLG/DWzErI5BKjNI=",
+ "narHash": "sha256-Q+U6JxtY67jVPjuzfwrjSGmIM73kIRrjKm0ihbUxPGQ=",
"path": "../systems/zoldene",
"type": "path"
},
{
"m.homeserver": {
- "base_url": "https://immae.ems.host"
+ "base_url": "https://synapse.immae.eu"
},
"m.identity_server": {
"base_url": "https://vector.im"
},
"org.matrix.msc3575.proxy": {
- "url": "https://immae.ems.host"
+ "url": "https://synapse.immae.eu"
}
}
{
- "m.server": "immae.ems.host:443"
+ "m.server": "synapse.immae.eu:443"
}
AllowOverride None
Require all granted
Header always set Access-Control-Allow-Origin "*"
+ Header always set Cache-Control "max-age=3600, public"
</Directory>
Alias /patches ${patchesDir}
matrix = pkgs.element-web.override {
conf = {
default_server_config."m.homeserver" = {
- base_url = "https://immae.ems.host";
+ base_url = "https://synapse.immae.eu";
server_name = "immae.eu";
};
default_server_config."m.identity_server" = {
group = config.users.users.postgres.group;
mode = "0755";
}
+ {
+ directory = "/var/lib/postgresql/${psqlVersion}";
+ user = config.users.users.postgres.name;
+ group = config.users.users.postgres.group;
+ mode = "0755";
+ }
{
directory = "/var/lib/fluentbit";
user = config.users.users.fluentbit.name;
];
};
};
+ systemd.services.postgresql.after = [
+ "var-lib-postgresql.mount"
+ "var-lib-postgresql-16.mount"
+ "persist-zfast-var-lib-postgresql.mount"
+ "persist-zfast-var-lib-postgresql-16.mount"
+ ];
+ systemd.services.postgresql.unitConfig = {
+ BindsTo = [
+ "var-lib-postgresql.mount"
+ "var-lib-postgresql-16.mount"
+ "persist-zfast-var-lib-postgresql.mount"
+ "persist-zfast-var-lib-postgresql-16.mount"
+ ];
+ };
+
services.postgresql = {
enable = true;
package = pkgs.postgresql_16;