Compare commits
No commits in common. "c259a93c7aed09810233b4986602f6bc9e133972" and "292c7ab911c3c3429b9ab98cda5847320710e7e6" have entirely different histories.
c259a93c7a
...
292c7ab911
1 changed files with 66 additions and 69 deletions
|
|
@ -32,7 +32,7 @@ let
|
|||
{
|
||||
host = "${hostVarLibDir}/postgres";
|
||||
# Adjust based on container postgres data dir
|
||||
container = "/var/lib/postgresql/16";
|
||||
container = "/var/lib/postgresql/17";
|
||||
user = "postgres";
|
||||
uid = config.ids.uids.postgres;
|
||||
gid = config.ids.gids.postgres;
|
||||
|
|
@ -149,8 +149,7 @@ in
|
|||
...
|
||||
}:
|
||||
{
|
||||
config = lib.mkMerge [
|
||||
{
|
||||
config = {
|
||||
system.stateVersion = "25.05";
|
||||
|
||||
networking = {
|
||||
|
|
@ -171,7 +170,7 @@ in
|
|||
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
package = pkgs.postgresql_16.withPackages (ps: [ ps.pgvecto-rs ]);
|
||||
package = pkgs.postgresql_17.withPackages (ps: [ ps.pgvecto-rs ]);
|
||||
enableJIT = true;
|
||||
authentication = ''
|
||||
local all all trust
|
||||
|
|
@ -221,12 +220,10 @@ in
|
|||
requires = [ "postgresql.service" ];
|
||||
after = [ "postgresql.service" ];
|
||||
};
|
||||
}
|
||||
{
|
||||
# Allow Immich user to access the media directory for hardware transcoding
|
||||
|
||||
# Allow Immich user to access the media directory
|
||||
users.users.immich.extraGroups = [ "video" "render" ];
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue