diff --git a/nixos/doc/manual/configuration.xml b/nixos/doc/manual/configuration.xml index 246ab11587a..1dff9d2f21e 100644 --- a/nixos/doc/manual/configuration.xml +++ b/nixos/doc/manual/configuration.xml @@ -237,7 +237,7 @@ postgresql.package = pkgs.postgresql90; -
Abstractions +
Abstractions If you find yourself repeating yourself over and over, it’s time to abstract. Take, for instance, this Apache HTTP Server configuration: @@ -399,7 +399,7 @@ of an expression to be spliced into a string.
-
Modularity +
Modularity The NixOS configuration mechanism is modular. If your configuration.nix becomes too big, you can split @@ -538,7 +538,7 @@ nix-repl> map (x: x.hostName) config.services.httpd.virtualHosts
-
Syntax summary +
Syntax summary Below is a summary of the most important syntactic constructs in the Nix expression language. It’s not complete. In particular, there @@ -730,7 +730,7 @@ manual for the rest. -
Package management +
Package management This section describes how to add additional packages to your system. NixOS has two distinct styles of package management: @@ -1183,7 +1183,7 @@ fileSystems."/".device = "/dev/mapper/crypted"; -
X Window System +
X Window System The X Window System (X11) provides the basis of NixOS’ graphical user interface. It can be enabled as follows: @@ -1275,9 +1275,9 @@ services.xserver.synaptics.twoFingerScroll = true; -
Networking +
Networking -
Secure shell access +
Secure shell access Secure shell (SSH) access to your machine can be enabled by setting: @@ -1305,7 +1305,7 @@ users.extraUsers.alice.openssh.authorizedKeys.keys =
-
IPv4 configuration +
IPv4 configuration By default, NixOS uses DHCP (specifically, dhcpcd) to automatically configure network @@ -1348,7 +1348,7 @@ provide the host name.
-
IPv6 configuration +
IPv6 configuration IPv6 is enabled by default. Stateless address autoconfiguration is used to automatically assign IPv6 addresses to all interfaces. You @@ -1363,17 +1363,19 @@ networking.enableIPv6 = false;
-
Firewall +
Firewall NixOS has a simple stateful firewall that blocks incoming connections and other unexpected packets. The firewall applies to -both IPv4 and IPv6 traffic. It can be enabled as follows: +both IPv4 and IPv6 traffic. It is enabled by default. It can be +disabled as follows: -networking.firewall.enable = true; +networking.firewall.enable = false; -You can open specific TCP ports to the outside world: +If the firewall is enabled, you can open specific TCP ports to the +outside world: networking.firewall.allowedTCPPorts = [ 80 443 ]; @@ -1395,7 +1397,7 @@ always allowed.)
-
Wireless networks +
Wireless networks NixOS will start wpa_supplicant for you if you enable this setting: @@ -1456,7 +1458,7 @@ networking.localCommands = -
Linux kernel +
Linux kernel You can override the Linux kernel and associated packages using the option . For instance, this diff --git a/nixos/doc/manual/installation.xml b/nixos/doc/manual/installation.xml index f6b477ed69b..03540aa83aa 100644 --- a/nixos/doc/manual/installation.xml +++ b/nixos/doc/manual/installation.xml @@ -1,13 +1,13 @@ + xml:id="ch-installation"> Installing NixOS -
+
Obtaining NixOS @@ -51,7 +51,7 @@ running NixOS system through several other means: -
+
Installation @@ -339,7 +339,7 @@ changes:
-Booting from a USB stick +Booting from a USB stick For systems withoua CD drive, the NixOS livecd can be booted from a usb stick. For non-UEFI installations, diff --git a/nixos/doc/manual/release-notes.xml b/nixos/doc/manual/release-notes.xml index 10815ba613a..7995497708e 100644 --- a/nixos/doc/manual/release-notes.xml +++ b/nixos/doc/manual/release-notes.xml @@ -5,7 +5,7 @@ -
+
Release 14.04 (“Baboon”, 2014/04/??) diff --git a/nixos/doc/manual/running.xml b/nixos/doc/manual/running.xml index e50099707cc..e1a358df2aa 100644 --- a/nixos/doc/manual/running.xml +++ b/nixos/doc/manual/running.xml @@ -11,7 +11,7 @@ service manager. -
Service management +
Service management In NixOS, all system services are started and monitored using the systemd program. Systemd is the “init” process of the system @@ -92,7 +92,7 @@ necessary). -
Rebooting and shutting down +
Rebooting and shutting down The system can be shut down (and automatically powered off) by doing: @@ -134,7 +134,7 @@ authentication. -
User sessions +
User sessions Systemd keeps track of all users who are logged into the system (e.g. on a virtual console or remotely via SSH). The command @@ -185,7 +185,7 @@ $ loginctl terminate-session c3 -
Control groups +
Control groups To keep track of the processes in a running system, systemd uses control groups (cgroups). A control group is a @@ -258,7 +258,7 @@ usage. -
Logging +
Logging System-wide logging is provided by systemd’s journal, which subsumes traditional logging @@ -308,7 +308,7 @@ groups. All users have a private journal that can be read using -
Cleaning up the Nix store +
Cleaning up the Nix store Nix has a purely functional model, meaning that packages are never upgraded in place. Instead new versions of packages end up in a diff --git a/nixos/doc/manual/troubleshooting.xml b/nixos/doc/manual/troubleshooting.xml index c6e0a3a7888..c7d65112b64 100644 --- a/nixos/doc/manual/troubleshooting.xml +++ b/nixos/doc/manual/troubleshooting.xml @@ -1,12 +1,13 @@ + xmlns:xlink="http://www.w3.org/1999/xlink" + xml:id="ch-troubleshooting"> Troubleshooting -
Boot problems +
Boot problems If NixOS fails to boot, there are a number of kernel command line parameters that may help you to identify or fix the issue. You @@ -69,7 +70,7 @@ unless something is very wrong.) -
Maintenance mode +
Maintenance mode You can enter rescue mode by running: @@ -85,7 +86,7 @@ just exit from the rescue shell. -
Rolling back configuration changes +
Rolling back configuration changes After running nixos-rebuild to switch to a new configuration, you may find that the new configuration doesn’t @@ -131,7 +132,7 @@ lrwxrwxrwx 1 root root 78 Aug 12 13:54 /nix/var/nix/profiles/system-268-link -> -
Nix store corruption +
Nix store corruption After a system crash, it’s possible for files in the Nix store to become corrupted. (For instance, the Ext4 file system has the @@ -166,7 +167,7 @@ binary cache; otherwise, they cannot be repaired. -
Nix network issues +
Nix network issues Nix uses a so-called binary cache to optimise building a package from source into downloading it as a