Eelco Dolstra
e1a1146690
Update section on writing tests
2014-04-14 19:19:39 +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
30d0864dc6
Simplify
2014-04-14 10:26:12 +02:00
Eelco Dolstra
ba29614578
Manual: Generate stable ids for options
...
E.g. ‘#opt-boot.initrd.kernelModules’.
Also, shut up a stupid XSLT warning (‘attribute value is not an NCName’).
2014-04-14 10:26:12 +02:00
Eelco Dolstra
d2155649af
Merge branch 'containers'
...
Fixes #2105 .
2014-04-10 15:55:51 +02:00
Eelco Dolstra
6a7a8a144f
Document NixOS containers
2014-04-10 15:07:29 +02:00
Eelco Dolstra
e09250d41c
Disable allowUnfree by default
...
Fixes #2134 .
2014-04-09 00:09:31 +02:00
Eelco Dolstra
694cc6172a
Enable the firewall by default
...
Fixes #2135 .
2014-04-08 09:44:01 +02:00
Eelco Dolstra
0469f92faf
Bring back mkOrder
2014-03-30 20:35:25 +02:00
Domen Kozar
8e1d765f61
nixos manual: make nixos options linkable
2014-03-08 19:34:28 +01:00
Pascal Wittmann
991b23c382
Added a static identifier to the installing nixos chapter
2014-02-27 14:56:13 +01:00
Shea Levy
c9f9835dda
Document mysql changes
2014-02-26 07:56:59 -05:00
Eelco Dolstra
c7aedd5805
Add missing file
2014-02-19 10:38:44 +01:00
Pascal Wittmann
516cdc25a4
Renamed obsolete option services.xserver.videoDrivers to hardware.opengl.videoDrivers
2014-02-18 23:11:49 +01:00
Eelco Dolstra
ca70ccb5c1
Start of 14.02 release notes
2014-02-18 19:13:07 +01:00
Domen Kožar
ee14f8da9a
remove references to isSystemUser and fix eval of tested job
2014-02-08 21:10:00 +01:00
Shea Levy
448dc031ed
Document EFI installation
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2014-02-03 17:05:23 -05:00
Georges Dubus
2ffab7ba6a
Fixed a code typo in the documentation
2013-12-29 11:43:59 +01:00
Eelco Dolstra
8c2dd86fe2
Manual: Fix typo
...
Fixes #1363 .
2013-12-12 10:38:13 +01:00
Eelco Dolstra
08a85c2152
Allow building/testing individual systemd units
2013-11-18 18:04:16 +01:00
Eelco Dolstra
1e89c720e2
Manual: Port forwarding to VMs
2013-11-07 12:28:45 +01:00
Eelco Dolstra
9ef07d859b
Include the NixOS version in the manual
...
In particular, this will make it clear what version of the manual is
shown at http://nixos.org/nixos/manual/ .
2013-11-01 16:47:29 +01:00
Eelco Dolstra
4d15ad22a2
Manual: Expand the Development chapter
2013-10-31 23:01:07 +01:00
Eelco Dolstra
139ff6d52f
Manual: Don't tell users to delete ~/.nix-defexpr/channels
...
That breaks nix-channel, obviously.
2013-10-31 20:52:40 +01:00
Eelco Dolstra
8e6abe49cd
Manual tweaks
2013-10-31 18:49:04 +01:00
Eelco Dolstra
987641d6ed
Fix mkForce example
2013-10-31 18:43:15 +01:00
Eelco Dolstra
599c32fdba
Document the NixOS configuration syntax
...
...without telling people to read the Nix manual first.
2013-10-31 18:12:57 +01:00
Eelco Dolstra
ca912c79d9
Manual: Document how to use NixOS channels
2013-10-31 14:38:29 +01:00
Eelco Dolstra
ee438d6266
Manual: Mention other ways to get NixOS
2013-10-31 13:46:35 +01:00
Eelco Dolstra
be5d3a59dd
Clean up some option examples
2013-10-30 18:47:43 +01:00
Eelco Dolstra
ac68d326b9
Manual: Fix -I flag
2013-10-30 14:57:42 +01:00
Eelco Dolstra
862e3dd977
Substitute "types.uniq types.string" -> "types.str"
2013-10-30 14:57:42 +01:00
Eelco Dolstra
0695b68c8c
Manual: Render multi-line strings properly
2013-10-29 17:39:31 +01:00
Eelco Dolstra
bfaa6b7352
Manual: Escape $
2013-10-29 17:39:31 +01:00
Eelco Dolstra
60c4c468f1
Manual: Render strings containing special characters as indented strings
2013-10-29 17:39:31 +01:00
Eelco Dolstra
b64f43cdbd
Manual: Don't show "Default: none"
2013-10-29 17:39:31 +01:00
Eelco Dolstra
c407db6316
Manual: Render null values
2013-10-29 16:18:23 +01:00
Evgeny Egorochkin
5580abd60a
nixos manual: fix references to obsolete nixos repository
2013-10-27 08:53:47 +02:00
Evgeny Egorochkin
9cb699f587
nixos manual: replace /etc/nixos/nixos which no longer exists with more generic and more
...
correct /path/to/nixpkgs/nixos
2013-10-27 08:39:32 +02:00
Eelco Dolstra
b5cfb8c120
Put the manual in the NixOS channel
2013-10-24 20:06:02 +02:00
Eelco Dolstra
d49f141a79
Manual: When building from the channel, link to the exact Git revision
2013-10-24 02:03:10 +02:00
Eelco Dolstra
8166b12f0c
Manual: Check that we don't depend on the Nixpkgs location
2013-10-23 20:08:23 +02:00
Eelco Dolstra
fad83a9560
Allow literalExample in subexpressions of examples
2013-10-23 20:08:22 +02:00
Eelco Dolstra
0def73f390
Manual: Don't depend on the absolute path of modules
...
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.
2013-10-23 20:08:22 +02:00
Eelco Dolstra
ec0911ce7f
Manual: Don't show obsolete/deprecated options
2013-10-23 20:08:21 +02:00
Eelco Dolstra
29014a47fb
Allow options to be marked as "internal"
...
This means they're not for end users. Currently they're filtered from
the manual, but we could include them in a separate section.
2013-10-23 20:08:21 +02:00
Eelco Dolstra
441dcd68d8
Get rid of special-casing of system.path in the manual generation
2013-10-23 20:08:21 +02:00
aszlig
f182fdf6ed
nixos-generate-config: Add --show-hardware-config.
...
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>
2013-10-23 17:16:17 +02:00
aszlig
a546069ad3
nixos-generate-config: Add --no-filesystems flag.
...
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>
2013-10-23 17:16:16 +02:00
Eelco Dolstra
375c395d12
Manual: Update installation section
2013-10-21 10:50:08 +02:00