This commit is contained in:
2025-08-11 15:29:11 +00:00
parent def3b1a34d
commit c3c4ba98a1
5 changed files with 47 additions and 26 deletions

18
flake.lock generated
View File

@@ -184,11 +184,11 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1754886238, "lastModified": 1754920958,
"narHash": "sha256-LTQomWOwG70lZR+78ZYSZ9sYELWNq3HJ7/tdHzfif/s=", "narHash": "sha256-id7UDxIVVpRrcIt+y5gJQA8TEHLo4xcrrkuikIX+TQk=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "0d492b89d1993579e63b9dbdaed17fd7824834da", "rev": "e11d6c321f3f848178a3fb2a8984aa5fe08c0996",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -216,11 +216,11 @@
"homebrew-cask": { "homebrew-cask": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1754888431, "lastModified": 1754920273,
"narHash": "sha256-THFqG3phkQl9RTqOWmdG9tdwi8B2fbc+q80xKnRLuuE=", "narHash": "sha256-YYbCs8TV5n9WuYgNLJlmVtq7pv5JKlQ+HxGp/gH/aZ4=",
"owner": "homebrew", "owner": "homebrew",
"repo": "homebrew-cask", "repo": "homebrew-cask",
"rev": "163cca357e67a3b4a92e893337b3120d9706a9eb", "rev": "42a9951dac62afe5dcd4364cfb0c38fe7bf08ae6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -232,11 +232,11 @@
"homebrew-core": { "homebrew-core": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1754895029, "lastModified": 1754920235,
"narHash": "sha256-nyCEWDtQOWqPcuDQ7nudvTpc1E1iICEcHXOtW+0rPts=", "narHash": "sha256-mhb5fC3AXxKzvckSO6LDnzy4Q2RQvUm8mb38kJOsl5Q=",
"owner": "homebrew", "owner": "homebrew",
"repo": "homebrew-core", "repo": "homebrew-core",
"rev": "d8b3db519f1475b2eb7c907ae30c420f65f3088d", "rev": "120959346c9ef2a21c4021f5a0a407a873d4d3b0",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -43,6 +43,39 @@
useDHCP = true; useDHCP = true;
}; };
services.postgresql = {
enable = true;
package = pkgs.postgresql_17;
extensions = [pkgs.postgresql17Packages.timescaledb];
enableTCPIP = true;
ensureDatabases = ["postgres"];
ensureUsers = [
{
name = "postgres";
ensureDBOwnership = true;
}
{
name = "cschmatzler";
ensureClauses = {
superuser = true;
createdb = true;
};
}
];
authentication = pkgs.lib.mkOverride 10 ''
local all all trust
host all all 127.0.0.1/32 trust
host all all ::1/128 trust
'';
settings = {
shared_preload_libraries = ["timescaledb"];
};
};
services.clickhouse = {
enable = true;
};
home-manager.users.${user} = { home-manager.users.${user} = {
programs.git.userEmail = "christoph@schmatzler.com"; programs.git.userEmail = "christoph@schmatzler.com";
}; };

View File

@@ -1,7 +1,7 @@
{pkgs, ...}: { {lib, pkgs, ...}: {
programs.zellij = { programs.zellij = {
enable = true; enable = true;
enableFishIntegration = false; enableFishIntegration = lib.mkDefault false;
settings = { settings = {
theme = "catppuccin-latte"; theme = "catppuccin-latte";
default_layout = "compact"; default_layout = "compact";

View File

@@ -1,5 +1,5 @@
{pkgs, ...}: { {
programs.zellij = { programs.zellij = {
enableFishIntegration = true; enableFishIntegration = true;
}; };
} }

View File

@@ -1,14 +1,2 @@
{pkgs}: {pkgs}:
with pkgs; [ with pkgs; []
nix-ld
ncurses
automake
gnumake
gcc
pkg-config
openssl
zlib
libxml2
libxslt
libiconv
]