test(OK):sql_study

style:env
This commit is contained in:
dichgrem
2025-11-18 19:06:12 +08:00
parent e2a382d90e
commit 51d40326c4
3 changed files with 25 additions and 15 deletions

View File

@@ -0,0 +1,17 @@
{ hostname, lib, pkgs, ... }:
with lib; let
inherit (import ../../hosts/${hostname}/env.nix) Database-Use-Case;
in
{
config = mkIf Database-Use-Case {
services.mysql = {
enable = true;
package = pkgs.mysql84;
};
environment.systemPackages = [
pkgs.dbeaver-bin
];
};
}