Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Remove uses of the "merge" option attribute | Eelco Dolstra | 2013-10-28 |
| | | | | | It's redundant because you can (and should) specify an option type, or an apply function. | ||
* | Check for undeclared options | Eelco Dolstra | 2013-10-28 |
| | |||
* | Fix bogus mkOption types | Eelco Dolstra | 2013-10-28 |
| | | | | | Among others, systemd unit options were not being type-checked because of this. mkOption should really check its arguments better... | ||
* | Add missing types | Eelco Dolstra | 2013-10-28 |
| | |||
* | Fix manual generation | Eelco Dolstra | 2013-10-28 |
| | |||
* | Manual: Fix bad \" characters | Eelco Dolstra | 2013-10-28 |
| | |||
* | Remove uses of mkFixStrictness | Eelco Dolstra | 2013-10-28 |
| | | | | mkFixStrictness is no longer needed, woohoo! | ||
* | Big cleanup of the NixOS module system | Eelco Dolstra | 2013-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. | ||
* | rename.nix: Don't use the extraConfigs feature | Eelco Dolstra | 2013-10-28 |
| | |||
* | openvpn.nix: Improve types | Eelco Dolstra | 2013-10-28 |
| | |||
* | Get rid of the only use of mkNotdef | Eelco Dolstra | 2013-10-28 |
| | |||
* | Get rid of the only use of mkDefaultValue | Eelco Dolstra | 2013-10-28 |
| | |||
* | Remove dead code | Eelco Dolstra | 2013-10-28 |
| | |||
* | nixos/redis: log to syslog by default | Jaka Hudoklin | 2013-10-28 |
| | |||
* | nixos/redis: user set uid, make it compatible #1076 | Jaka Hudoklin | 2013-10-28 |
| | |||
* | nixos/graphite: limit amount of log message defaults | Jaka Hudoklin | 2013-10-28 |
| | |||
* | nixos/graphite: graphite requires pidfile set for startup | Jaka Hudoklin | 2013-10-28 |
| | |||
* | Adding Quantum Minigolf game | Michael Raskin | 2013-10-28 |
| | |||
* | nixos manual: fix references to obsolete nixos repository | Evgeny Egorochkin | 2013-10-27 |
| | |||
* | nixos manual: replace /etc/nixos/nixos which no longer exists with more ↵ | Evgeny Egorochkin | 2013-10-27 |
| | | | | | | generic and more correct /path/to/nixpkgs/nixos | ||
* | firebird.nix: Fix a misplaced } that causes "users" to be outside "config" | Eelco Dolstra | 2013-10-25 |
| | |||
* | Fix an assertion set in the wrong place | Eelco Dolstra | 2013-10-25 |
| | |||
* | Add the NixOS manpages to the channel | Eelco Dolstra | 2013-10-25 |
| | |||
* | Put the manual in the NixOS channel | Eelco Dolstra | 2013-10-24 |
| | |||
* | Ensure that the manual job gets build with the right revision info | Eelco Dolstra | 2013-10-24 |
| | |||
* | Simplify manual generation | Eelco Dolstra | 2013-10-24 |
| | |||
* | Put the NixOS channel in an option | Eelco Dolstra | 2013-10-24 |
| | |||
* | nixos/libvirtd: fix remote ssh managment by adding netcat-openbsd in system ↵ | Jaka Hudoklin | 2013-10-24 |
| | | | | | | | | | packages Virsh/virt-manager uses ssh to connect to master, there it expects openbsd netcat(which has support for unix sockets) to be avalible, to make a tunnel. Close #1087. | ||
* | nixos-generate-config: Don't suggest setting fileSystems in configuration.nix | Eelco Dolstra | 2013-10-24 |
| | | | | | | | | It's already set in hardware-configuration.nix so this just confuses people. Also get rid of boot.initrd.kernelModules, since hardware-configuration.nix is supposed to figure that out as well. | ||
* | Manual: When building from the channel, link to the exact Git revision | Eelco Dolstra | 2013-10-24 |
| | |||
* | Fix evaluation error in the ISOs | Eelco Dolstra | 2013-10-24 |
| | |||
* | Remove dependencies on the Nixpkgs location | Eelco Dolstra | 2013-10-23 |
| | |||
* | Manual: Check that we don't depend on the Nixpkgs location | Eelco Dolstra | 2013-10-23 |
| | |||
* | Allow literalExample in subexpressions of examples | Eelco Dolstra | 2013-10-23 |
| | |||
* | Manual: Don't depend on the absolute path of modules | Eelco Dolstra | 2013-10-23 |
| | | | | | | This ensures that the manual has the same store path regardless of the directory in which Nixpkgs is stored, and thus can be fetched from the channel. | ||
* | Do show aliases in the manual. | Eelco Dolstra | 2013-10-23 |
| | |||
* | rename.nix: Don't use splitString | Eelco Dolstra | 2013-10-23 |
| | | | | It's very slow. | ||
* | Add a way to define obsolete options that have no replacement | Eelco Dolstra | 2013-10-23 |
| | |||
* | Allow modules to define warnings to be shown during evaluation | Eelco Dolstra | 2013-10-23 |
| | |||
* | Fix style | Eelco Dolstra | 2013-10-23 |
| | |||
* | Manual: Don't show obsolete/deprecated options | Eelco Dolstra | 2013-10-23 |
| | |||
* | Allow options to be marked as "internal" | Eelco Dolstra | 2013-10-23 |
| | | | | | This means they're not for end users. Currently they're filtered from the manual, but we could include them in a separate section. | ||
* | Improve option description | Eelco Dolstra | 2013-10-23 |
| | |||
* | Get rid of special-casing of system.path in the manual generation | Eelco Dolstra | 2013-10-23 |
| | |||
* | nixos-rebuild: Drop references to <nixos>. | aszlig | 2013-10-23 |
| | | | | | | | | Commit 31203732b3104125e107a3141578399cab5d478f dropped the reference to <nixos> from NIX_PATH (nixos/modules/programs/environment.nix) and thus prevents systems that are not using channels from rebuilding. Signed-off-by: aszlig <aszlig@redmoonstudios.org> | ||
* | nixos-generate-config: Add --show-hardware-config. | aszlig | 2013-10-23 |
| | | | | | | | | | | | | So, we get the old behaviour of nixos-hardware-scane if we run the following command: nixos-generate-config --no-filesystems --show-hardware-config This allows to use scripts in order to fetch NixOS specific hardware information, without the need to duplicate code elsewhere. Signed-off-by: aszlig <aszlig@redmoonstudios.org> | ||
* | nixos-generate-config: Remove unnecessary spaces. | aszlig | 2013-10-23 |
| | | | | | | | | The attributes swapDevices and imports add a space character after the eqals sign, which is unnecessary. I know, I'm a pedantic douche bag but it hurts my eyes. Signed-off-by: aszlig <aszlig@redmoonstudios.org> | ||
* | nixos-generate-config: Add --no-filesystems flag. | aszlig | 2013-10-23 |
| | | | | | | | This is to get back the old behavior of nixos-hardware-scan, which didn't include fileSystems and swapDevices. Signed-off-by: aszlig <aszlig@redmoonstudios.org> | ||
* | munin: fix documentation links | Domen Kožar | 2013-10-23 |
| | |||
* | Merge pull request #1106 from ocharles/redshift | Domen Kožar | 2013-10-22 |
|\ | | | | | services.redshift: New service |