Skip to content

Commit

Permalink
✨ add glasskube,minikube
Browse files Browse the repository at this point in the history
  • Loading branch information
shelken committed Sep 23, 2024
1 parent 28634ce commit 0273c39
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 2 deletions.
22 changes: 22 additions & 0 deletions home/apps/dev/glasskube/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
lib,
mylib,
config,
pkgs,
...
}: let
inherit (lib) mkIf;
inherit (mylib) mkBoolOpt;
cfg = config.shelken.dev.glasskube;
in {
options.shelken.dev.glasskube = {
enable = mkBoolOpt false "Whether or not to enable.";
};

config = mkIf cfg.enable {
home.packages = with pkgs; [
glasskube
];
shelken.dev.minikube.enable = true;
};
}
23 changes: 23 additions & 0 deletions home/apps/dev/minikube/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
lib,
mylib,
config,
pkgs,
...
}: let
inherit (lib) mkIf;
inherit (mylib) mkBoolOpt;
cfg = config.shelken.dev.minikube;
in {
options.shelken.dev.minikube = {
enable = mkBoolOpt false "Whether or not to enable.";
};

config = mkIf cfg.enable {
home.packages = with pkgs; [
minikube
kubectl
];
programs.k9s.enable = true;
};
}
4 changes: 2 additions & 2 deletions home/darwin/proxy/proxychains.conf
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,6 @@ tcp_connect_time_out 8000
#
[ProxyList]
# add proxy here ...
socks5 127.0.0.1 7897
http 127.0.0.1 7896
#socks5 127.0.0.1 7897
#http 127.0.0.1 7896
http 127.0.0.1 7890
3 changes: 3 additions & 0 deletions hosts/yuuko/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
aerospace.enable = true;
iceBar.enable = true;
};
dev = {
minikube.enable = true;
};
secrets.enable = true;
};
}

0 comments on commit 0273c39

Please sign in to comment.