Commit Graph

731 Commits (release-18.03-flake)

Author SHA1 Message Date
Florian Klink 192179b875 manual: rename user added to networkmanager from "youruser" to "alice"
to be consistent with the rest of the manual

Reported-By: Cedric Shahabi <cedric.shahabi@gmail.com>
(cherry picked from commit 329983f6c72bf5acf68cdfd29bf1a9dac7050968)
2018-06-30 01:09:04 +02:00
Florian Klink 3a5f893de2 manual: rename users.extraUsers to users.users
Is called like this since 14321ae, but
docs were still using the old option in some cases.

Reported-By: Cedric Shahabi <cedric.shahabi@gmail.com>
(cherry picked from commit 6cabce9abd916f219c1c003719f2e8ba547654c3)
2018-06-30 01:08:50 +02:00
Samuel Dionne-Riel 3a33c586dc nixos/doc+man: Fixes squishedtogether definitions. 2018-05-31 21:46:50 -04:00
Samuel Dionne-Riel 8b19c1216b nixos/doc: ran `make format`
With visual inspection that nothing got worse.
2018-05-31 21:43:09 -04:00
Samuel Dionne-Riel 5a4c26c35b doc: Adds xml fixing script. (see previous and next commits)
This script is used to automatically fix issues within xml documentation
files.

The script is *for now* intended to be used ad-hoc, and the commits to
be examined.

A future discussion will define whether:

  * This commit and scripts are kept.
  * The script is extended for common use.

The biggest issue right now with the script is that it *could* in theory
destroy a valid space-less varlistentry.

The script could, in practical use, be changed and extended to normalize
some parts of the XML files, mainly:

  * A common quoting style for attributes
  * Fix-up some weird formatting automatically that xmlformat doesn't
    catch

(cherry picked from commit bc0421c4cf18c431ece8d6a19f723159316f55ff)
2018-05-31 21:37:52 -04:00
Samuel Dionne-Riel 0f8fcfa026 doc: Adds rule to xmlformat to help keep spacing right.
The other definitions broke term, cmdsynopsis and arg tags; spaces
inside were removed, making workdsrun-ininstead of keeping them spaced.

(cherry picked from commit aa59151c21c353923b3f003662f17f2210c63c57)
2018-05-31 21:37:41 -04:00
Graham Christensen d3644fc26a
nixos docs: format =) 2018-05-01 20:02:27 -04:00
Graham Christensen 760be1907a
nixos docs: ignore generated files
(cherry picked from commit fd2dce9708ff68e8a5474d9bf691a23c52c7273e)
(cherry picked from commit 0d9597868bc5330c706f02870479a48aa79f7385)
2018-05-01 20:00:51 -04:00
Graham Christensen 972920be80
nixos docs: fixup 2018-05-01 19:44:09 -04:00
Graham Christensen b7c6e7295d
nixos docs: makefile for formatting 2018-05-01 19:42:39 -04:00
Graham Christensen 89187d1221
nixpkgs doc: add format Make target 2018-05-01 19:42:38 -04:00
Graham Christensen 614a0f9318
nixos docs: include note about make for debugging the nixos docs
(cherry picked from commit 74fcb1c770e3a5178a7ee089b3caf406f7bf94bf)
2018-05-01 19:42:28 -04:00
Graham Christensen 7fd45e4367
nixos manual: update xi:include for configuruation.nix's options-db
(cherry picked from commit a77dc213a7825f5dd13c7989e38d82e64816d881)
2018-05-01 19:42:27 -04:00
Graham Christensen 65872183ed
nixos docs: Add a makefile for hacking on the nixos docs
(cherry picked from commit 0ff0d138e4e9d68853c463a540d61718aa91cffb)
2018-05-01 19:42:27 -04:00
Graham Christensen 902f5e1611
nixos docs: Move generated XML in to a specific subdirectory to allow easier hacking
(cherry picked from commit 59f8b1e844d679d1ae7d2a94cf02f9ca259f0dfa)
2018-05-01 19:42:27 -04:00
Linus Heckemann 4647755b9f nixos-install manual: remove --chroot option
This option has been removed from the tool in favour of nixos-enter.

(cherry picked from commit 152454d9875cc1df645c5aa01ec41451d985199f)
2018-05-01 10:05:03 +01:00
Ryan Mulligan 9ece83c251
lib/eval-config: document NIXOS_EXTRA_MODULE_PATH
This adds some documentation about importing modules external to
Nixpkgs, which provides context for documenting
NIXOS_EXTRA_MODULE_PATH.

Closes #30376

(cherry picked from commit 1cc97befd5550732fd155d04cdd9eca3f5024dbc)
2018-04-27 21:27:30 -04:00
Christian Kauhaus b065fd7bdd
Clarify installation steps w.r.t. disk partitions
- mkfs.fat needs `-n` to set a partition label, not `-L`.
- create /mnt/boot before mounting
- leave out detailed LVM example as advanced users already how to create
  LVs while it is detracting for novices.

Re #38674

(cherry picked from commit bca80d67a065de4b875a131ef97dd11cb29c46ba)
2018-04-17 08:50:07 -04:00
Graham Christensen 4b4bbce199
nixos docs: syntax highlight
- Rectifies diverging CSS by combining
   nixos/nixpkgs docs CSS
 - Moves our custom Highlight.js loader in to
   the hljs package
 - Switches the nixos docs to use SVG
   callouts too

(cherry picked from commit 8f33464ca7a603301cf9a5a213be23ca701d6cce)
2018-04-05 08:39:27 -04:00
Linus Heckemann 89472dce77
18.03 release notes: fix typo
(cherry picked from commit 0594acc6aa6eaa1a9ca76aa3f3b0771404576345)
2018-04-05 11:01:50 +02:00
Vladimír Čunát 120b013e0c
18.03 release notes: final edits
(cherry picked from commit 0bee079d97f88ce5994b002c462cbadbaf14ad94)
2018-04-04 09:02:31 +02:00
Maximilian Bosch 78e13f5da2 Revert restrictive validation behavior for DM/WM defaults in the X module
The original idea behind this change (described in ticket #11064) was to
improve the assertions to avoid that users of the X server accidentally
forget to configure a DM or WM.

However this caused several issues with setups that require X, but no DM
or WM. The keymap testcases became instable as well as now disabling DMs
needs to be done explicitly.
(see https://github.com/NixOS/nixpkgs/pull/31268#issuecomment-347080036)

In the end the idea behind the change and #11064 was obviously a
mistake, so reverting it completely for now should be fine.

(cherry picked from commit 5caa22fe0a908ede1889d32fa773b9aef675a56e)
2018-03-28 20:34:40 +02:00
WilliButz 135e13f8fc
release notes: add information about prometheus exporters
(cherry picked from commit 8a1310122679b1d646a2c753e869f448f6b99796)
2018-03-22 15:24:55 +01:00
Robin Gloster 766a80ec84
prosody: improve module handling
(cherry picked from commit 0a80f2c0f4284428235b0f54e228f6e76f1673a7)
2018-03-22 14:33:10 +01:00
Florian Jacob 7ef13f58b6
prosody: 0.9.12 -> 0.10.0
updating config options, removing luazlib as mod_compression was removed
for security reasons.

(cherry picked from commit 226965da67c25bbad0c6c0cc6d21b64a647beed8)
2018-03-22 14:33:09 +01:00
Richard Marko 4937ce0100 nixos manual: fix (n)of typo
(cherry picked from commit d5de7bbc920560331bd1ba951a182c2dbe0e8462)
2018-03-18 08:35:45 +00:00
obadz 4069dab3ca
nixos doc: give context and definition re NIXOS_LUSTRATE
Re #36272

(cherry picked from commit ee9a785c30c1bbc58ed77bd9c08e3cc208727572)
2018-03-07 13:30:23 +01:00
obadz 9dc62dd915
Merge pull request #36272 from obadz/nixos-lustrate-doc
nixos doc: document the installation process from other distros as well as NIXOS_LUSTRATE
2018-03-04 16:21:54 +00:00
obadz 7af0aa846e nixos doc: document the installation process from other distros as well as NIXOS_LUSTRATE 2018-03-04 16:19:52 +00:00
Vladimír Čunát 2069a2a002
Merge #35454: nixos/pump.io: remove 2018-03-04 10:49:25 +01:00
Vladimír Čunát 729d72f9e4
18.03 release notes: nix-2.0 by default 2018-03-03 18:03:13 +01:00
Vladimír Čunát b70c93f211
Merge branch 'master' into nix-2.0 2018-03-03 18:02:35 +01:00
Vladimír Čunát ac3b53707c
18.03 release notes: highlight linux and gcc updates 2018-03-03 18:01:20 +01:00
Vladimír Čunát 7b2cf5b12e
lib.addPassthru: removed as scheduled 2018-03-03 17:57:38 +01:00
Tor Hedin Brønner c58072309c programs/bash: install nix-bash-completions if completion is enabled 2018-02-28 19:13:02 +01:00
Eelco Dolstra cc2eeef4ab
Fix installing the Nixpkgs channel on the installation media
And test that it got installed correctly.
2018-02-27 19:58:23 +01:00
Rodney Lorrimar c95ef47c51
Release notes: mention removal of pump.io module 2018-02-27 12:52:52 +00:00
adisbladis 4f59f26faf nodejs: Add release note about dropped 4_x packages 2018-02-27 10:19:23 +01:00
Franz Pletz 37c009ca74
Merge pull request #34028 from florianjacob/matomo
piwik is now matomo
2018-02-26 06:53:58 +00:00
Aristid Breitkreuz e349ccc77f nixos/alsa: Do not make sound.enable conditional on stateVersion.
Eelco Dolstra wrote:

Hm, this is not really the intended use of stateVersion. From the description:

        Every once in a while, a new NixOS release may change
        configuration defaults in a way incompatible with stateful
        data. For instance, if the default version of PostgreSQL
        changes, the new version will probably be unable to read your
        existing databases. To prevent such breakage, you can set the
        value of this option to the NixOS release with which you want
        to be compatible. The effect is that NixOS will option
        defaults corresponding to the specified release (such as using
        an older version of PostgreSQL).

So this is only intended for options that have some corresponding on-disk state. AFAICT this is not the case for sound. In any case stateVersion is a necessary evil that only exists because we can't just upgrade Postgres databases or change SSH host keys. It's not necessary for things like whether sound is enabled. (If the user discovers that sound is suddenly disabled, they can just enable it.)

I had some vague recollection that we also had a configVersion option setting to control the defaults for non-state-related options, but I can't find it so maybe it was only discussed.
2018-02-23 23:14:42 +01:00
Franz Pletz a04f6245a8
nixos/manual: fix build
Broken due to a43e33d0e4.
2018-02-23 00:28:20 +01:00
Aristid Breitkreuz a43e33d0e4 nixos: disable sound by default, if stateVersion >= 18.03 (#35355) 2018-02-22 22:06:31 +00:00
Florian Jacob 885e762d47 nixos/matomo: improve serverName default
when we need to change it anyway for the rename.
2018-02-22 22:03:55 +01:00
Florian Jacob 48e449ee70 nixos/piwik: rename to matomo 2018-02-22 22:03:55 +01:00
Eelco Dolstra d12c9911df
Merge remote-tracking branch 'origin/master' into nix-2.0 2018-02-22 17:28:51 +01:00
Jörg Thalheim 263a8c721d
Merge pull request #35180 from dotlambda/attic
attic: uninit
2018-02-20 10:38:54 +00:00
Robert Schütz 663d6e8f9d attic: uninit
Attic is currently broken on master.
The Attic git repo has not been updated since May 2015.
Arch Linux also does not have an Attic package anymore.
Borg should be able to read Attic backups using
http://borgbackup.readthedocs.io/en/stable/usage/upgrade.html#attic-and-borg-0-xx-to-borg-1-x.
2018-02-20 11:32:35 +01:00
Ben Creasy 385369eeb2 nixos/doc: document password-promptless installation (#35210) 2018-02-20 08:59:13 +00:00
Ben Creasy e8ddba2bcf
Remove Xfce-specific display manager tip
This is already covered in the previous chapter https://github.com/NixOS/nixpkgs/blob/master/nixos/doc/manual/configuration/x-windows.xml#L38-L46 - Xfce also depends on X and it doesn't need a special section on display managers.
2018-02-19 15:18:07 -08:00
Michael Raskin 7d2642724f
Merge pull request #35111 from oxij/stdenv/available-evaluates
stdenv.mkDerivation: rename `meta.evaluates` -> `meta.available`
2018-02-19 14:15:06 +00:00