hmpffff has joined #nixos-systemd
<arianvp> hmm im still undecided whether I actually _like_ tmpfiles.d and sysusers.d
<arianvp> both aren't really 'declarative' in the sense that NixOS is; as they dont remove things that are removed from the file
<arianvp> they're basically fancy syntax for a list of commands
hmpffff has quit [Quit: nchrrrr…]
hmpffff has joined #nixos-systemd
<flokli> arianvp: the NixOS "sysusers.d" implementation also doesn't remove users ;-)
hmpffff has quit [Quit: nchrrrr…]
<aanderse> arianvp: I've been attempting to find motivation+time to write an rfc to discourage the use of tmpfiles.... not quite there yet :-\
hmpffff has joined #nixos-systemd
hmpffff has quit [Client Quit]
hmpffff has joined #nixos-systemd
<arianvp> aanderse whilst you were the one encouraging it at first:P
<aanderse> arianvp: yup, bad on me
<aanderse> to be fair though... tmpfiles is better than where we were at
<aanderse> but i think we can make the situation even better
<aanderse> and i don't mean to say you should never use tmpfiles, not at all
<aanderse> its useful
<aanderse> i use it often for a number of things
<aanderse> but yeah, in many situations i think we have a better option....
<aanderse> that i should write an RFC about :)
<flokli> aanderse: so do it :-D
<aanderse> flokli: right?
<andi-> Is the RFC going to be about removing all the state? ;)
hmpffff has quit [Quit: nchrrrr…]
<flokli> smash all state?
<infinisil> aanderse: What's the better option?
<infinisil> I'd like to have some abstract interface to systemd.tmpfiles (or another implementation of the same thing)
<aanderse> infinisil: just the idea that `stateDir` option should behave like `user` option: don't provision unless the default is specified
<aanderse> generally speaking that would allow you to use `StateDirectory` over `tmpfiles`, which moreso desirable
hmpffff has joined #nixos-systemd
hmpffff has quit [Quit: nchrrrr…]
hmpffff has joined #nixos-systemd
hmpffff has quit [Quit: nchrrrr…]
hmpffff has joined #nixos-systemd
hmpffff has quit [Quit: nchrrrr…]
hmpffff has joined #nixos-systemd
hmpffff has quit [Quit: nchrrrr…]