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 = { syncthing = {
enable = true; enable = true;
autostart = true; autostart = true;
enableTray = true; enableTray = false;
}; };
}; };
}; };

View file

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

View file

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

View file

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

View file

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