mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-16 17:51:08 +02:00
feat: format via 'ls **/*.nix | each { |it| nixfmt $it.name }'
This commit is contained in:
@@ -4,13 +4,15 @@
|
||||
lib,
|
||||
myvars,
|
||||
...
|
||||
}: let
|
||||
}:
|
||||
let
|
||||
inherit (myvars) username;
|
||||
|
||||
user = "postgres"; # postgresql's default system user
|
||||
package = pkgs.postgresql_16;
|
||||
dataDir = "/data/apps/postgresql/${package.psqlSchema}";
|
||||
in {
|
||||
in
|
||||
{
|
||||
# Create Directories
|
||||
# https://www.freedesktop.org/software/systemd/man/latest/tmpfiles.d.html#Type
|
||||
systemd.tmpfiles.rules = [
|
||||
@@ -58,8 +60,8 @@ in {
|
||||
"--allow-group-access"
|
||||
];
|
||||
|
||||
extraPlugins = ps:
|
||||
with ps; [
|
||||
extraPlugins =
|
||||
ps: with ps; [
|
||||
# postgis
|
||||
# pg_repack
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user