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