hosts/db-pg17, roles/dbserver-postgresql: remove ansibleLibPackage opt

This commit is contained in:
2025-08-09 21:16:31 -07:00
parent 33930fb8d4
commit 1efa985be0
2 changed files with 0 additions and 9 deletions

View File

@@ -14,7 +14,6 @@
dbserver-postgresql = {
enable = true;
ansibleLibPackage = pkgs.python312Packages.psycopg2;
};
base.userSSHKeys = [

View File

@@ -24,19 +24,11 @@ in
description = "Package to use for the database server";
example = postgresql;
};
ansibleLibPackage = mkOption {
type = types.package;
default = defaultPsycopg2Package;
description = "Python library to use for Ansible interfacing";
example = pkgs.python313Packages.psycopg2;
};
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
cfg.dbPackage
cfg.ansibleLibPackage
(python3.withPackages (ps: with ps; [ psycopg2 ]))
];