Add Kubectl environment variables
This commit is contained in:
parent
a08ad47ee3
commit
4f172af3be
|
@ -31,7 +31,7 @@
|
||||||
syncthing = {
|
syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
autostart = true;
|
autostart = true;
|
||||||
enableTray = true;
|
enableTray = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -44,14 +44,14 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableTray = true;
|
enableTray = false; # Recent versions of STT don't recognize Gnome's tray. Uninstalling for now.
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
gremlin = {
|
gremlin = {
|
||||||
enable = true;
|
enable = true;
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableTray = true;
|
enableTray = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -29,8 +29,9 @@ while [[ $# -gt 0 ]]; do
|
||||||
exit
|
exit
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Unknown argument $1"
|
#echo "Unknown argument $1"
|
||||||
exit 1
|
#exit 1
|
||||||
|
break
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
|
@ -59,6 +59,11 @@ with lib;
|
||||||
packages = lib.mkIf config.host.ui.gnome.enable [
|
packages = lib.mkIf config.host.ui.gnome.enable [
|
||||||
pkgs.gnomeExtensions.wallpaper-slideshow
|
pkgs.gnomeExtensions.wallpaper-slideshow
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Set environment variables
|
||||||
|
sessionVariables = {
|
||||||
|
KUBECONFIG = "/home/aires/.kube/config";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
|
|
@ -53,6 +53,16 @@ with lib;
|
||||||
|
|
||||||
# The state version is required and should stay at the version you originally installed.
|
# The state version is required and should stay at the version you originally installed.
|
||||||
stateVersion = "24.05";
|
stateVersion = "24.05";
|
||||||
|
|
||||||
|
# Set environment variables
|
||||||
|
sessionVariables = {
|
||||||
|
KUBECONFIG = "/home/gremlin/.kube/config";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Install packages specific to Gremlin
|
||||||
|
packages = [
|
||||||
|
pkgs.awscli2
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
|
Loading…
Reference in a new issue