summary refs log tree commit diff
path: root/nixos/modules/system/etc
Commit message (Collapse)AuthorAge
* setup-etc.pl: Keep track of copied filesEelco Dolstra2014-07-25
| | | | | | | | | We now track copied files in /etc/.clean. This is important, because otherwise files that are removed from environment.etc will not actually be removed from the file system. In particular, changing users.extraUsers.<user>.openssh.authorizedKeys.keys to an empty list would not cause /etc/ssh/authorized_keys.d/<user> to be removed, which was a security issue.
* Rewrite ‘with pkgs.lib’ -> ‘with lib’Eelco Dolstra2014-04-14
| | | | | | | | Using pkgs.lib on the spine of module evaluation is problematic because the pkgs argument depends on the result of module evaluation. To prevent an infinite recursion, pkgs and some of the modules are evaluated twice, which is inefficient. Using ‘with lib’ prevents this problem.
* etc: uid/gid support for copied filesAustin Seipp2014-02-23
| | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
* Make /etc/localtime a direct symlink to the zoneinfo fileEelco Dolstra2014-01-06
| | | | | | | Some programs (notably the Java Runtime Environment) expect to be able to extract the name of the time zone from the target of the /etc/localtime symlink. That doesn't work if /etc/localtime is a symlink to /etc/static/localtime. So make it a direct symlink.
* Add lots of missing option typesEelco Dolstra2013-10-30
|
* Clean up some option examplesEelco Dolstra2013-10-30
|
* Fix bogus mkOption typesEelco Dolstra2013-10-28
| | | | | Among others, systemd unit options were not being type-checked because of this. mkOption should really check its arguments better...
* Move all of NixOS to nixos/ in preparation of the repository mergeEelco Dolstra2013-10-10