mirror of
https://github.com/Dichgrem/DCGOS.git
synced 2025-12-16 19:22:00 -05:00
test(OK):sql_study
style:env
This commit is contained in:
@@ -7,17 +7,10 @@
|
|||||||
GPU-AMD = true;
|
GPU-AMD = true;
|
||||||
### See https://nixos.wiki/wiki/AMD_GPU
|
### 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
|
## Software related
|
||||||
QEMU-VM-Use-Case = true;
|
QEMU-VM-Use-Case = true;
|
||||||
|
|
||||||
|
Database-Use-Case = true;
|
||||||
### See https://github.com/qemu/qemu ; https://github.com/virt-manager/virt-manager
|
### See https://github.com/qemu/qemu ; https://github.com/virt-manager/virt-manager
|
||||||
|
|
||||||
# Options
|
# 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
|
# For OBS virtual cam support
|
||||||
v4l-utils
|
v4l-utils
|
||||||
|
|
||||||
# Editor
|
|
||||||
nano
|
|
||||||
|
|
||||||
# Networking tool
|
# Networking tool
|
||||||
iperf3
|
iperf3
|
||||||
nexttrace
|
nexttrace
|
||||||
@@ -76,16 +73,19 @@ in {
|
|||||||
|
|
||||||
# Dev
|
# Dev
|
||||||
go
|
go
|
||||||
|
zig
|
||||||
|
lua
|
||||||
gcc
|
gcc
|
||||||
gdb
|
gdb
|
||||||
cmake
|
cmake
|
||||||
clang
|
clang
|
||||||
gnumake
|
gnumake
|
||||||
zig
|
|
||||||
nodejs_20
|
|
||||||
pnpm
|
|
||||||
rustc
|
rustc
|
||||||
cargo
|
cargo
|
||||||
|
jdk17
|
||||||
|
python312
|
||||||
|
pnpm
|
||||||
|
nodejs_20
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user