Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add develop environment for ruby #94

Merged
merged 1 commit into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 14 additions & 0 deletions home/base/gui/dev-tools.nix
Original file line number Diff line number Diff line change
@@ -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
];
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
colmena # nixos's remote deployment tool

# db related
dbeaver
mycli
pgcli
mongosh
Expand Down Expand Up @@ -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 = {
Expand Down
File renamed without changes.
3 changes: 3 additions & 0 deletions home/base/tui/editors/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{mylib, ...}: {
imports = mylib.scanPaths ./.;
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 4 additions & 3 deletions home/darwin/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
imports =
(mylib.scanPaths ./.)
++ [
../base/server
../base/desktop
../base/core.nix
../base/core
../base/tui
../base/gui
../base/home.nix
];
}
8 changes: 8 additions & 0 deletions home/linux/core.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
imports = [
../base/core
../base/home.nix

./base
];
}
10 changes: 0 additions & 10 deletions home/linux/desktop.nix

This file was deleted.

11 changes: 11 additions & 0 deletions home/linux/gui.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
imports = [
../base/core
../base/tui
../base/gui
../base/home.nix

./base
./desktop
];
}
8 changes: 0 additions & 8 deletions home/linux/server.nix

This file was deleted.

10 changes: 10 additions & 0 deletions home/linux/tui.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
imports = [
../base/core
../base/tui
../base/home.nix

./base
./desktop
];
}
2 changes: 1 addition & 1 deletion outputs/x86_64-linux/src/12kingdoms-shoukei.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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"
];
Expand Down
2 changes: 1 addition & 1 deletion outputs/x86_64-linux/src/idols-ai.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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"
];
Expand Down
2 changes: 1 addition & 1 deletion outputs/x86_64-linux/src/idols-ruby.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
{modules.secrets.server.operation.enable = true;}
];
home-modules = map mylib.relativeToRoot [
"home/linux/server.nix"
"home/linux/tui.nix"
];
};

Expand Down
2 changes: 1 addition & 1 deletion outputs/x86_64-linux/src/k3s-prod-1-master-1.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
{modules.secrets.server.kubernetes.enable = true;}
];
home-modules = map mylib.relativeToRoot [
"home/linux/server.nix"
"home/linux/core.nix"
];
};

Expand Down