1
0
Fork 0

Add Kubectl environment variables

This commit is contained in:
Aires 2024-04-13 17:02:35 -04:00
parent a08ad47ee3
commit 4f172af3be
5 changed files with 113 additions and 97 deletions

View file

@ -31,7 +31,7 @@
syncthing = {
enable = true;
autostart = true;
enableTray = true;
enableTray = false;
};
};
};

View file

@ -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;
};
};
};

View file

@ -29,8 +29,9 @@ while [[ $# -gt 0 ]]; do
exit
;;
*)
echo "Unknown argument $1"
exit 1
#echo "Unknown argument $1"
#exit 1
break
;;
esac
done

View file

@ -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 = {

View file

@ -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 = {