This commit is contained in:
2025-09-04 06:39:23 +00:00
parent 0d7c23aeec
commit 9e2efdc880
12 changed files with 102 additions and 182 deletions

View File

@@ -1,22 +1,15 @@
{
config,
lib,
pkgs,
user,
...
}: {
imports = [
../shared.nix
../../../modules/postgresql.nix
];
networking.hostName = "chidi";
networking.computerName = "Chidi";
services.postgresql = {
enable = true;
};
services.syncthing.settings.folders = {
"Projects/Work" = {
path = "/Users/${user}/Projects/Work";

View File

@@ -65,24 +65,6 @@
};
};
services.postgresql = {
enable = true;
extensions = [pkgs.postgresql17Packages.timescaledb];
authentication = pkgs.lib.mkOverride 10 ''
local all all trust
host all all 127.0.0.1/32 trust
host all all ::1/128 trust
host all all 100.64.0.0/10 trust
'';
settings = {
shared_preload_libraries = ["timescaledb"];
};
};
services.clickhouse = {
enable = true;
};
services.syncthing.settings.folders = {
"Projects/Personal" = {
path = "/home/${user}/Projects/Personal";