summary refs log tree commit diff
path: root/nixos/modules/config/shells-environment.nix
Commit message (Collapse)AuthorAge
* Add missing 'type', 'defaultText' and 'literalExample' in module definitionsThomas Strobel2016-01-17
| | | | | | - add missing types in module definitions - add missing 'defaultText' in module definitions - wrap example with 'literalExample' where necessary in module definitions
* Manual: Remove store path referencesEelco Dolstra2015-09-24
|
* nixos,lib: move environment generation related copy-paste to libJan Malakhovski2015-09-18
|
* Some more type cleanupEelco Dolstra2015-06-15
|
* Replace environment.profileVariables by environment.profileRelativeEnvVarsNicolas Pierron2014-09-07
|
* nixos/manual: Use literalExample when feasible.aszlig2014-08-27
| | | | | | | | | Should bring most of the examples into a better consistency regarding syntactic representation in the manual. Thanks to @devhell for reporting. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Set session variables in the shell as wellEelco Dolstra2014-06-13
|
* Revert "Revert "Merge #2692: Use pam_env to properly setup system-wide env""Eelco Dolstra2014-06-10
| | | | This reverts commit 491c088731022463978e595956427e72db6306a9.
* Revert "Merge #2692: Use pam_env to properly setup system-wide env"Eelco Dolstra2014-06-10
| | | | This reverts commit 18a0cdd86416a8cbc263cfa8cb96c460a53f7b5c.
* Merge #2692: Use pam_env to properly setup system-wide envVladimír Čunát2014-06-10
|
* 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.
* Add some primops to libEelco Dolstra2013-11-12
|
* Show correct position info for errors in submodulesEelco Dolstra2013-10-30
| | | | | | | | E.g. The unique option `fileSystems./.device' is defined multiple times, in `/etc/nixos/configuration.nix' and `/etc/nixos/foo.nix'. This requires passing file/value tuples to the merge functions.
* Show precise error messages in option merge failuresEelco Dolstra2013-10-28
| | | | | | | | | | | | | | For instance, if time.timeZone is defined multiple times, you now get the error message: error: user-thrown exception: The unique option `time.timeZone' is defined multiple times, in `/etc/nixos/configurations/misc/eelco/x11vnc.nix' and `/etc/nixos/configuration.nix'. while previously you got: error: user-thrown exception: Multiple definitions of string. Only one is allowed for this option. and only an inspection of the stack trace gave a clue as to what option caused the problem.
* Fix evaluation of environment.variablesEelco Dolstra2013-10-28
|
* Big cleanup of the NixOS module systemEelco Dolstra2013-10-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The major changes are: * The evaluation is now driven by the declared options. In particular, this fixes the long-standing problem with lack of laziness of disabled option definitions. Thus, a configuration like config = mkIf false { environment.systemPackages = throw "bla"; }; will now evaluate without throwing an error. This also improves performance since we're not evaluating unused option definitions. * The implementation of properties is greatly simplified. * There is a new type constructor "submodule" that replaces "optionSet". Unlike "optionSet", "submodule" gets its option declarations as an argument, making it more like "listOf" and other type constructors. A typical use is: foo = mkOption { type = type.attrsOf (type.submodule ( { config, ... }: { bar = mkOption { ... }; xyzzy = mkOption { ... }; })); }; Existing uses of "optionSet" are automatically mapped to "submodule". * Modules are now checked for unsupported attributes: you get an error if a module contains an attribute other than "config", "options" or "imports". * The new implementation is faster and uses much less memory.
* Move all of NixOS to nixos/ in preparation of the repository mergeEelco Dolstra2013-10-10