hosts/db-pg17, roles/dbserver-postgresql: remove ansibleLibPackage opt
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
|
||||
dbserver-postgresql = {
|
||||
enable = true;
|
||||
ansibleLibPackage = pkgs.python312Packages.psycopg2;
|
||||
};
|
||||
|
||||
base.userSSHKeys = [
|
||||
|
@@ -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 ]))
|
||||
];
|
||||
|
||||
|
Reference in New Issue
Block a user