I am wondering if Antergos sets TRIM to enabled on a fresh install. I have a NVME SSD and would like to set a periodic trim job. There seem to be different ways of doing this and I am not sure if Antergos comes with it enabled.

adding discard inside fstab is enabeling continious TRIM.
to get periodic trim you need to remove discard option from fstab and enable the fstrim-timer:sudo systemctl enable fstrim.timer
To make sure it works start it once:sudo systemctl start fstrim.timer

as far as i know Antergos is using continious trimming with discard option inside fstab for ssd drives…

I can confirm that. I installed Antergos to my new laptop this Summer, and in /etc/fstab there is the discard option on the main disk (SSD) by default.

It may be more desirable to TRIM the SSD weekly (by the service) than continuously (with /etc/fstab option).
So if you enable fstrim.service, then you probably want to remove the discard option on your SSD drive(s) in /etc/fstab.

@knightfall Yes this was the case with my former laptop as well. It was an Asus Zenbook UX31E. It had the “discards” from the beginning.

On my new Laptop XPS 13 the fstab looks like this:

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
#
UUID=8b9633c8-eb8d-475f-aaa3-7c0dd5cf8c39 /boot ext4 defaults,relatime,data=ordered 0 0
UUID=8873cca1-ebd2-43c2-82ff-47f32fdfb537 / ext4 defaults,relatime,data=ordered 0 1
UUID=288db7a7-9afe-4c4c-bab0-30a66f6397a5 swap swap defaults 0 0