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

@@ -7,17 +7,10 @@
GPU-AMD = true;
### See https://nixos.wiki/wiki/AMD_GPU
GPU-Nvidia = false;
### See https://nixos.wiki/wiki/Nvidia
GPU-Intel = false;
### See https://nixos.wiki/wiki/Intel_Graphics
HotSpot-Use-Case = false;
### See https://nixos.wiki/wiki/Internet_Connection_Sharing
## Software related
QEMU-VM-Use-Case = true;
Database-Use-Case = true;
### See https://github.com/qemu/qemu ; https://github.com/virt-manager/virt-manager
# Options

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
];
};
}

View File

@@ -46,9 +46,6 @@ in {
# For OBS virtual cam support
v4l-utils
# Editor
nano
# Networking tool
iperf3
nexttrace
@@ -76,16 +73,19 @@ in {
# Dev
go
zig
lua
gcc
gdb
cmake
clang
gnumake
zig
nodejs_20
pnpm
rustc
cargo
jdk17
python312
pnpm
nodejs_20
];
};