Vladimír Čunát
e51f73652d
Merge recent master into staging
...
Hydra: ?compare=1149952
Conflicts:
nixos/doc/manual/configuration.xml (changed split file)
nixos/modules/config/users-groups.nix (choosing filterNull instead of inline definition)
pkgs/development/libraries/readline/readline6.3.nix (auto-solved)
2014-08-30 10:04:02 +02:00
Eelco Dolstra
41788255ab
Manual: Start of module-specific documentation
2014-08-27 12:24:44 +02:00
Eelco Dolstra
60e6cc81b5
No caps in filenames
2014-08-26 19:04:02 +02:00
Mikey Ariel
a099ca4505
Chunk NixOS manual
...
[Squashed commits to make git blame etc. more likely to work. -ED]
2014-08-26 19:03:49 +02:00
Eelco Dolstra
c72fdf4f48
Manual: Tweak
2014-08-26 15:13:21 +02:00
Eelco Dolstra
81f2749012
Manual: Chunk into separate pages
2014-08-25 19:08:31 +02:00
Eelco Dolstra
b1ce3cc172
Manual: Handle XML files in subdirectories
2014-08-25 14:33:33 +02:00
Michael Raskin
327074682f
Merge pull request #3522 from ryantm/patch-1
...
add note about mutableUsers to user management section
2014-08-23 12:47:42 +04:00
Vladimír Čunát
d4e9fd2a90
Merge recent master into staging
...
Hydra: ?compare=1148749
Conflicts (easy):
nixos/modules/virtualisation/containers.nix
2014-08-21 15:09:31 +02:00
Nathaniel Baxter
7d4cd20ea4
nixos manual: Fix instruction for getting booted kernel confix
2014-08-17 16:10:10 +10:00
Eelco Dolstra
a323d146b7
Add user attribute isNormalUser
...
This is shorthand for setting group, createHome, home, useDefaultShell
and isSystemUser.
2014-08-15 02:16:04 +02:00
Eelco Dolstra
1a75958be5
Unify mutableUsers = { true, false }
...
With mutableUsers = true, we now ensure that all users and groups that
were created declaratively, are updated or removed
appropriately. Thus, adding a user to users.extraUsers and then
removing it now causes the acoount to be removed from
/etc/passwd. Thus user/group management is fully congruent except that
users and groups that were created imperatively (via useradd/groupadd)
are not touched. We distinguish between declarative and imperative
users/groups by tracking the former in
/var/lib/nixos/declarative-{groups,users}.
With mutableUsers = false, you are now no longer required to specify
UIDs/GIDs for all users. The handling of mutableUsers = true/false is
the same code path; the only difference is that the "false" mode
ignores the existing contents of /etc/{passwd,group}.
The attribute ‘createUser’ is gone. It doesn't really make sense to
specify users that shouldn't be created.
2014-08-15 02:15:29 +02:00
Ryan Mulligan
fee04927a4
add note about mutableUsers to user management section
2014-08-10 08:39:31 -07:00
Eelco Dolstra
7a09c6018d
Manual: Generate PDF
...
Issue NixOS/nixos#237 .
2014-08-09 16:33:12 +02:00
Eelco Dolstra
aeb5c14eb9
Manual: Remove outdated author stuff
2014-08-09 16:33:01 +02:00
Eelco Dolstra
80a3c883a9
Manual: Render function defaults
2014-08-09 16:33:01 +02:00
Peter Simons
2d326e5032
Merge remote-tracking branch 'origin/master' into staging.
...
Conflicts:
pkgs/desktops/e18/enlightenment.nix
2014-08-04 16:51:47 +02:00
Damien Cassou
355a46ec5d
Make the networkmanager group more discoverable
...
This change makes the manual present the networkmanager group at several
places to make sure new users see it.
2014-07-29 09:14:57 +02:00
Eelco Dolstra
f64d84698e
Merge remote-tracking branch 'origin/master' into staging
...
Conflicts:
pkgs/applications/audio/espeak/edit.nix
pkgs/applications/audio/lmms/default.nix
pkgs/desktops/e18/enlightenment.nix
pkgs/games/exult/default.nix
pkgs/os-specific/linux/alsa-plugins/default.nix
2014-07-28 11:30:49 +02:00
aszlig
15bb4c20e6
nixos/doc/manual: Fix typos in README.
...
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-07-23 15:00:25 +02:00
Rob Vermaas
4cac67cada
Merge pull request #3335 from DamienCassou/doc-for-building-the-nixos-manual
...
README for building the nixos manual
2014-07-23 09:48:09 +02:00
Eelco Dolstra
7f410ef923
Merge remote-tracking branch 'origin/master' into staging
...
Conflicts:
pkgs/misc/vim-plugins/default.nix
2014-07-22 11:00:00 +02:00
Damien Cassou
812da7cd2f
Adding a missing instruction for EFI installations
...
This commit also adds a link to rEFInd which is a useful tool to manage
EFI systems. If this link is not desired, I can remove it.
2014-07-21 17:54:38 +02:00
Damien Cassou
c59dc1ddc0
README for building the nixos manual
2014-07-21 17:24:10 +02:00
Eelco Dolstra
40f7b0f9df
Another attempt to eradicate ensureDir
...
See c556a6ea46
.
2014-06-30 14:56:10 +02:00
Anders Claesson
97d65d8010
nixos manual: fix typo ( close #2997 )
2014-06-17 21:52:22 +02:00
Eelco Dolstra
a7d31fe449
Handle <nixpkgs> being a symlink
...
Fixes #1898 .
2014-06-13 16:48:49 +02:00
Anders Claesson
1777724a33
Fix trivial spelling mistake in docs
2014-06-13 11:11:27 +01:00
Eelco Dolstra
a8c9c11f9e
Manual: Note about using a local branch
2014-05-28 14:38:07 +02:00
Eelco Dolstra
3ef8d6ad5c
nixos-install: Add operation --chroot
...
"nixos-install --chroot" runs a command (by default a login shell) in
a chroot inside the NixOS installation in /mnt. This might useful for
poking around a new installation.
2014-05-09 00:52:02 +02:00
Eelco Dolstra
4fc151b5a3
nixos-install: Ask the user to set a root password
...
This removes the need to have an initially empty root password.
2014-05-09 00:52:02 +02:00
Eelco Dolstra
6f7aaf10a5
Containers: Use systemd-nspawn's --network-veth flag
...
Note that this causes the name of the host-side interface to change
from c-<name> to ve-<name>.
2014-05-07 17:53:57 +02:00
Luca Bruno
ea1a9445bb
Added gnome 3.10 to the release notes
2014-05-01 18:32:28 +02:00
Eelco Dolstra
0ea20bef3c
Set release date
2014-04-30 23:13:45 +02:00
Eelco Dolstra
9bb209a3bd
gummiboot: Automatically disable GRUB
2014-04-30 11:47:18 +02:00
Eelco Dolstra
3fe96bcca1
Rename hardware.opengl.videoDrivers back to services.xserver.videoDrivers
...
Fixes #2379 .
The new name was a misnomer because the values really are X11 video
drivers (e.g. ‘cirrus’ or ‘nvidia’), not OpenGL implementations. That
it's also used to set an OpenGL implementation for kmscon is just
confusing overloading.
2014-04-29 14:42:36 +02:00
Eelco Dolstra
aa02b2cfb1
Bump some mentions of 13.10
2014-04-28 12:38:50 +02:00
Eelco Dolstra
c6f76861dc
Update release notes
2014-04-28 12:38:50 +02:00
Eelco Dolstra
4fb50f071f
Manual: Typo fixes
2014-04-19 22:59:25 +02:00
Eelco Dolstra
7ce743b422
Manual: Add some IDs
2014-04-14 19:27:26 +02:00
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
Eelco Dolstra
2087f8dec3
Remove unused manual file
2013-10-18 13:45:18 +02:00
Eelco Dolstra
04690da3bd
Rename newOptionAttrSetToDocList -> optionAttrSetToDocList
2013-10-17 14:09:05 +02:00
Eelco Dolstra
9b8847eb91
Document nixos-install
2013-10-13 17:35:57 +02:00
Eelco Dolstra
00f380dee5
Document nixos-generate-config
2013-10-13 17:35:57 +02:00
Eelco Dolstra
ac13bd2575
Merge "nixos-option --install" into nixos-generate-config
...
Having configuration.nix generation hidden underneath nixos-option
never made sense, also given that there was another command to
generate part of the configuration (nixos-hardware-scan). Now
nixos-generate-config produces both configuration.nix and
hardware-configuration.nix. The latter is overwritten while the
former is not.
2013-10-13 17:35:55 +02:00
Eelco Dolstra
0f550596c9
Typo
2013-10-13 17:35:55 +02:00
Eelco Dolstra
f42d494355
Refactor variable names
2013-10-13 17:35:55 +02:00
Eelco Dolstra
a042d91290
nixos-rebuild: Document --profile-name
2013-10-13 17:35:54 +02:00
Eelco Dolstra
5c1f8cbc70
Move all of NixOS to nixos/ in preparation of the repository merge
2013-10-10 13:28:20 +02:00