WhoNeededRAMAnyway
01/30/2026, 7:14 PMAnswer Overflow
01/30/2026, 7:14 PMAmaranth
01/30/2026, 7:22 PM/usr or /etc, you can do that directly by putting it into the image you're building (e.g. with the files module). But to add something to /var (which includes anything in user home directories), you can't do it directly from the base image, because /var doesn't get replaced with image updates; the usual way to handle this is by creating a systemd user service that makes the changes you want (typically with some run condition that makes it only run once).Amaranth
01/30/2026, 7:23 PM$PATH or other environment variables, you can add a drop-in conf file in /usr/lib/environment.dAmaranth
01/30/2026, 7:23 PM/etc/profile.d, though that only applies to bash or certain other similar shells, so you'd need to do something else for fish or other shellsbenoit_lx
01/30/2026, 7:33 PMCarrotManMatt
01/31/2026, 5:21 PM/usr/bin as that is where sysadmin binaries go. It will be automatically on the $PATH for users by defaultbenoit_lx
01/31/2026, 6:20 PMbenoit_lx
01/31/2026, 6:22 PMCarrotManMatt
01/31/2026, 7:43 PM