mirror of
https://github.com/Dichgrem/DCGOS.git
synced 2025-12-16 11:12:00 -05:00
test(OK):sql_study
style:env
This commit is contained in:
@@ -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
|
||||
|
||||
17
modules/services/mysql.nix
Normal file
17
modules/services/mysql.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user