mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-01 07:03:08 +02:00
fix: postgres - permission
This commit is contained in:
@@ -14,8 +14,8 @@ in {
|
||||
# Create Directories
|
||||
# https://www.freedesktop.org/software/systemd/man/latest/tmpfiles.d.html#Type
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /data/apps/postgresql 0755 ${user} ${user}"
|
||||
"d ${dataDir} 0755 ${user} ${user}"
|
||||
"d /data/apps/postgresql 0700 ${user} ${user}"
|
||||
"d ${dataDir} 0700 ${user} ${user}"
|
||||
];
|
||||
|
||||
# https://wiki.nixos.org/wiki/PostgreSQL
|
||||
|
||||
Reference in New Issue
Block a user