Skip to content

Commit

Permalink
Merge pull request #94 from ryan4yin/add-develop-env-for-ruby
Browse files Browse the repository at this point in the history
feat: add develop environment for ruby
  • Loading branch information
ryan4yin authored Mar 13, 2024
2 parents bcc8d23 + 4d3a375 commit 1c65d16
Show file tree
Hide file tree
Showing 67 changed files with 54 additions and 31 deletions.
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.
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.
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.
File renamed without changes.
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.
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.
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

0 comments on commit 1c65d16

Please sign in to comment.