summary refs log tree commit diff
path: root/nixos/modules
Commit message (Collapse)AuthorAge
* Remove uses of the "merge" option attributeEelco Dolstra2013-10-28
| | | | | It's redundant because you can (and should) specify an option type, or an apply function.
* Check for undeclared optionsEelco Dolstra2013-10-28
|
* 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...
* Add missing typesEelco Dolstra2013-10-28
|
* Fix manual generationEelco Dolstra2013-10-28
|
* Manual: Fix bad \" charactersEelco Dolstra2013-10-28
|
* Remove uses of mkFixStrictnessEelco Dolstra2013-10-28
| | | | mkFixStrictness is no longer needed, woohoo!
* 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.
* rename.nix: Don't use the extraConfigs featureEelco Dolstra2013-10-28
|
* openvpn.nix: Improve typesEelco Dolstra2013-10-28
|
* Get rid of the only use of mkNotdefEelco Dolstra2013-10-28
|
* Get rid of the only use of mkDefaultValueEelco Dolstra2013-10-28
|
* Remove dead codeEelco Dolstra2013-10-28
|
* nixos/redis: log to syslog by defaultJaka Hudoklin2013-10-28
|
* nixos/redis: user set uid, make it compatible #1076Jaka Hudoklin2013-10-28
|
* nixos/graphite: limit amount of log message defaultsJaka Hudoklin2013-10-28
|
* nixos/graphite: graphite requires pidfile set for startupJaka Hudoklin2013-10-28
|
* Adding Quantum Minigolf gameMichael Raskin2013-10-28
|
* firebird.nix: Fix a misplaced } that causes "users" to be outside "config"Eelco Dolstra2013-10-25
|
* Fix an assertion set in the wrong placeEelco Dolstra2013-10-25
|
* Ensure that the manual job gets build with the right revision infoEelco Dolstra2013-10-24
|
* Put the NixOS channel in an optionEelco Dolstra2013-10-24
|
* nixos/libvirtd: fix remote ssh managment by adding netcat-openbsd in system ↵Jaka Hudoklin2013-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.nixEelco Dolstra2013-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 revisionEelco Dolstra2013-10-24
|
* Fix evaluation error in the ISOsEelco Dolstra2013-10-24
|
* Remove dependencies on the Nixpkgs locationEelco Dolstra2013-10-23
|
* Do show aliases in the manual.Eelco Dolstra2013-10-23
|
* rename.nix: Don't use splitStringEelco Dolstra2013-10-23
| | | | It's very slow.
* Add a way to define obsolete options that have no replacementEelco Dolstra2013-10-23
|
* Allow modules to define warnings to be shown during evaluationEelco Dolstra2013-10-23
|
* Fix styleEelco Dolstra2013-10-23
|
* Manual: Don't show obsolete/deprecated optionsEelco Dolstra2013-10-23
|
* Allow options to be marked as "internal"Eelco Dolstra2013-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 descriptionEelco Dolstra2013-10-23
|
* Get rid of special-casing of system.path in the manual generationEelco Dolstra2013-10-23
|
* nixos-rebuild: Drop references to <nixos>.aszlig2013-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.aszlig2013-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.aszlig2013-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.aszlig2013-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 linksDomen Kožar2013-10-23
|
* Merge pull request #1106 from ocharles/redshiftDomen Kožar2013-10-22
|\ | | | | services.redshift: New service
| * services.redshift: New serviceOliver Charles2013-10-22
| |
* | Firebird service:Marc Weber2013-10-21
| | | | | | | | | | | | | | | | | | | | * simplify directory layout * clean up option descriptions * let the user override Firebird package * create firebird user * clarify TODO comment Close # 1061.
* | postgresql.authMethod: remove unimplemented option.Evgeny Egorochkin2013-10-21
| | | | | | | | close #1104.
* | xserver.s3tcSupport: fix typo, improve description.Evgeny Egorochkin2013-10-21
|/
* nix-gc: Revert to "script" instead of ExecStartEelco Dolstra2013-10-21
| | | | | There is an assumption that cfg.options can contain shell code, so ExecStart doesn't work here.
* munin: add test and fix a bugDomen Kožar2013-10-20
|
* Allow non-SSL connections to vsftpd by default to let tests not specify ↵Michael Raskin2013-10-20
| | | | certificate
* Add apparently missing option to vsftpd configurationMichael Raskin2013-10-20
|