Update Postgres configuration and remove system packages
- Update Postgres configuration for dev and prod environments: - Change dbname from `dev_baseddata_models` to `dev_baseddata` and `baseddata_models` to `baseddata` - Replace host variable with `${baseddataPostgresIp}` - Update user and password placeholders to new paths - Remove `environment.systemPackages` configuration
This commit is contained in:
parent
8561f44963
commit
7be587d7b1
|
@ -107,23 +107,23 @@ in {
|
||||||
target: dev
|
target: dev
|
||||||
outputs:
|
outputs:
|
||||||
dev:
|
dev:
|
||||||
dbname: dev_baseddata_models
|
dbname: dev_baseddata
|
||||||
host: ${config.sops.placeholder."software/postgres/baseddata_models/ip"}
|
host: ${baseddataPostgresIp}
|
||||||
pass: '${config.sops.placeholder."software/postgres/baseddata_models/password"}'
|
pass: '${config.sops.placeholder."software/postgres/baseddata/user_password"}'
|
||||||
port: 5432
|
port: 5432
|
||||||
schema: models
|
schema: models
|
||||||
threads: 6
|
threads: 6
|
||||||
type: postgres
|
type: postgres
|
||||||
user: ${config.sops.placeholder."software/postgres/baseddata_models/username"}
|
user: ${config.sops.placeholder."software/postgres/baseddata/user_username"}
|
||||||
prod:
|
prod:
|
||||||
dbname: baseddata_models
|
dbname: baseddata
|
||||||
host: ${config.sops.placeholder."software/postgres/baseddata_models/ip"}
|
host: ${baseddataPostgresIp}
|
||||||
pass: '${config.sops.placeholder."software/postgres/baseddata_models/password"}'
|
pass: '${config.sops.placeholder."software/postgres/baseddata/user_password"}'
|
||||||
port: 5432
|
port: 5432
|
||||||
schema: models
|
schema: models
|
||||||
threads: 6
|
threads: 6
|
||||||
type: postgres
|
type: postgres
|
||||||
user: ${config.sops.placeholder."software/postgres/baseddata_models/username"}
|
user: ${config.sops.placeholder."software/postgres/baseddata/user_username"}
|
||||||
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
@ -160,8 +160,4 @@ in {
|
||||||
${username} = import ../../../../home/${hostname}.nix;
|
${username} = import ../../../../home/${hostname}.nix;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = [
|
|
||||||
#inputs.sqlfmt.packages.x86_64-linux.sqlfmt
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue