mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-26 03:11:32 +01:00
feat: add develop environment for ruby
This commit is contained in:
14
home/base/gui/dev-tools.nix
Normal file
14
home/base/gui/dev-tools.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
home.packages = with pkgs; [
|
||||
# db related
|
||||
dbeaver
|
||||
|
||||
mitmproxy # http/https proxy tool
|
||||
insomnia # REST client
|
||||
wireshark # network analyzer
|
||||
ventoy # create bootable usb
|
||||
];
|
||||
}
|
||||
@@ -18,7 +18,6 @@
|
||||
colmena # nixos's remote deployment tool
|
||||
|
||||
# db related
|
||||
dbeaver
|
||||
mycli
|
||||
pgcli
|
||||
mongosh
|
||||
@@ -47,11 +46,6 @@
|
||||
# need to run `conda-shell` before using command `conda`
|
||||
# conda is not available for MacOS
|
||||
conda
|
||||
|
||||
mitmproxy # http/https proxy tool
|
||||
insomnia # REST client
|
||||
wireshark # network analyzer
|
||||
ventoy # create bootable usb
|
||||
];
|
||||
|
||||
programs = {
|
||||
3
home/base/tui/editors/default.nix
Normal file
3
home/base/tui/editors/default.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{mylib, ...}: {
|
||||
imports = mylib.scanPaths ./.;
|
||||
}
|
||||
@@ -2,8 +2,9 @@
|
||||
imports =
|
||||
(mylib.scanPaths ./.)
|
||||
++ [
|
||||
../base/server
|
||||
../base/desktop
|
||||
../base/core.nix
|
||||
../base/core
|
||||
../base/tui
|
||||
../base/gui
|
||||
../base/home.nix
|
||||
];
|
||||
}
|
||||
|
||||
8
home/linux/core.nix
Normal file
8
home/linux/core.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
imports = [
|
||||
../base/core
|
||||
../base/home.nix
|
||||
|
||||
./base
|
||||
];
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
{
|
||||
imports = [
|
||||
../base/server
|
||||
../base/desktop
|
||||
../base/core.nix
|
||||
|
||||
./base
|
||||
./desktop
|
||||
];
|
||||
}
|
||||
11
home/linux/gui.nix
Normal file
11
home/linux/gui.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
imports = [
|
||||
../base/core
|
||||
../base/tui
|
||||
../base/gui
|
||||
../base/home.nix
|
||||
|
||||
./base
|
||||
./desktop
|
||||
];
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
imports = [
|
||||
../base/server
|
||||
../base/core.nix
|
||||
|
||||
./base
|
||||
];
|
||||
}
|
||||
10
home/linux/tui.nix
Normal file
10
home/linux/tui.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
imports = [
|
||||
../base/core
|
||||
../base/tui
|
||||
../base/home.nix
|
||||
|
||||
./base
|
||||
./desktop
|
||||
];
|
||||
}
|
||||
@@ -22,7 +22,7 @@
|
||||
];
|
||||
home-modules = map mylib.relativeToRoot [
|
||||
# common
|
||||
"home/linux/desktop.nix"
|
||||
"home/linux/gui.nix"
|
||||
# host specific
|
||||
"hosts/12kingdoms-${name}/home.nix"
|
||||
];
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
];
|
||||
home-modules = map mylib.relativeToRoot [
|
||||
# common
|
||||
"home/linux/desktop.nix"
|
||||
"home/linux/gui.nix"
|
||||
# host specific
|
||||
"hosts/idols-${name}/home.nix"
|
||||
];
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
{modules.secrets.server.operation.enable = true;}
|
||||
];
|
||||
home-modules = map mylib.relativeToRoot [
|
||||
"home/linux/server.nix"
|
||||
"home/linux/tui.nix"
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
{modules.secrets.server.kubernetes.enable = true;}
|
||||
];
|
||||
home-modules = map mylib.relativeToRoot [
|
||||
"home/linux/server.nix"
|
||||
"home/linux/core.nix"
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user