Jan Malakhovski
967088e002
nixos: let's not forget types in the timezone module
2015-07-31 01:57:47 +00:00
Peter Simons
137ffc9929
Switch default timezone in NixOS from "CET" to "UTC".
...
Suggested in https://github.com/NixOS/nixpkgs/pull/5332 .
2014-12-15 16:31:18 +01:00
Eelco Dolstra
f5055e2ef6
Rename environment.systemVariables -> environment.sessionVariables
...
This makes it clearer that they're part of PAM sessions.
2014-06-13 17:57:04 +02:00
Eelco Dolstra
8ae659f16c
Revert "Revert "Merge #2692 : Use pam_env to properly setup system-wide env""
...
This reverts commit 491c088731
.
2014-06-10 13:07:10 +02:00
Eelco Dolstra
491c088731
Revert "Merge #2692 : Use pam_env to properly setup system-wide env"
...
This reverts commit 18a0cdd864
.
2014-06-10 13:03:44 +02:00
Vladimír Čunát
18a0cdd864
Merge #2692 : Use pam_env to properly setup system-wide env
2014-06-10 11:42:59 +02:00
Eelco Dolstra
7fd13ddc66
Set TZDIR for all systemd services
...
This only matters if a service also overrides the $TZ variable.
Issue #2447 .
2014-05-21 18:31:40 +02:00
Eelco Dolstra
29027fd1e1
Rewrite ‘with pkgs.lib’ -> ‘with lib’
...
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.
2014-04-14 16:26:48 +02:00
Eelco Dolstra
c32d0180e4
Don't set $TZ
...
Now that Java is happy with our /etc/localtime, there is no reason to
set $TZ anymore. (See 945849b86f
, 279248f6c5
, 1b5e860f65
.)
Fixes #1463 .
2014-01-06 18:27:07 +01:00
Eelco Dolstra
1b5e860f65
Make /etc/localtime a direct symlink to the zoneinfo file
...
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.
2014-01-06 18:23:41 +01:00
Eelco Dolstra
862e3dd977
Substitute "types.uniq types.string" -> "types.str"
2013-10-30 14:57:42 +01:00
Eelco Dolstra
5c1f8cbc70
Move all of NixOS to nixos/ in preparation of the repository merge
2013-10-10 13:28:20 +02:00