nixpkgs-suyu/nixos/modules/system
Jamey Sharp b63f65aea0 nixos/pam: create wtmp/lastlog iff using pam_lastlog
I think pam_lastlog is the only thing that writes to these files in
practice on a modern Linux system, so in a configuration that doesn't
use that module, we don't need to create these files.

I used tmpfiles.d instead of activation snippets to create the logs.
It's good enough for upstream and other distros; it's probably good
enough for us.
2018-09-30 11:08:12 -07:00
..
activation nixos/pam: create wtmp/lastlog iff using pam_lastlog 2018-09-30 11:08:12 -07:00
boot nixos/systemd: don't create /var/lib/udev 2018-09-30 11:05:47 -07:00
etc