hosts/db-mdb11, roles/dbserver-mariadb: remove ansibleLibPackage opt

This commit is contained in:
2025-08-09 20:58:06 -07:00
parent 34a92a2ec2
commit 33930fb8d4
2 changed files with 1 additions and 9 deletions

View File

@@ -17,7 +17,6 @@
dbserver-mariadb = {
enable = true;
ansibleLibPackage = pkgs.python312Packages.pymysql;
};
base.userSSHKeys = [

View File

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