commit | 15ee77c3d574ab37faede3ea71980d42a3366259 | [log] [tgz] |
---|---|---|
author | Skyler Grey <skyler3665@gmail.com> | Sun Feb 19 23:44:46 2023 +0000 |
committer | Skyler Grey <skyler3665@gmail.com> | Sun Feb 26 13:09:30 2023 +0000 |
tree | 324e77d3ce0e59798ca080259bfbcdefe743697e | |
parent | 7815367cd6b9faf6fb2e55bfd17e360650dd8196 [diff] |
Prevent postgres automatically starting
diff --git a/modules/postgres.nix b/modules/postgres.nix index 29f9e44..5be964f 100644 --- a/modules/postgres.nix +++ b/modules/postgres.nix
@@ -16,6 +16,7 @@ initialPasswordFile = config.sops.secrets.pgadminPassword.path; }; }; + systemd.services.pgadmin.wantedBy = lib.mkForce []; sops.secrets.pgadminPassword = { mode = "0400"; owner = config.users.users.pgadmin.name;