Dont use 99- prefix, to allow users to overwrite config without breaking the 2-digit naming scheme
I had the need to overwrite some of the sysctl config set by this, but by choosing the 99- prefix you've made it so I can't add a higher priority file with my own preferences.
I now have this:
.rw-r--r-- 2,5k root 31 Okt 13:03 99-cachyos-settings.conf
.rw-r--r-- 55 root 9 Nov 20:39 999-custom.conf
.rw-r--r-- 1,8k root 9 Nov 20:38 9999-coredump.conf
.rw-r--r-- 25 root 9 Nov 20:32 99999-ebpf.conf
Thats pretty inconvenient...
Note: both sysctl --system and systemd-sysctl.service have higher numbers take precedence.
Perhaps the CachyOS settings file should use a lower number, like 80-cachyos-settings.conf or 90-cachyos-settings.conf. This would allow users to override the settings with 99-custom.conf while maintaining the default two-letter naming scheme. As a workaround, you could try doing it manually first if necessary.
Thats exactly what I was getting at: using a lower number to allow user files to be above it. For example, the filesystem package increases inotify resource limits etc in a 10-arch.conf, while systemd owns a 50-default.conf in the same directory.
Yes, I don't know if there's a specific reason for it, but it is quite restrictive.