summaryrefslogtreecommitdiffstats
path: root/nixos/doc
AgeCommit message (Collapse)Author
2021-01-30Merge pull request #111284 from siraben/remove-new-stdenv-libJohn Ericson
stdenv: warn about use of inherited lib
2021-01-30nixos/restic: correct location of cache directoryElias Probst
By default, restic determines the location of the cache based on the XDG base dir specification, which is `~/.cache/restic` when the environment variable `$XDG_CACHE_HOME` isn't set. As restic is executed as root by default, this resulted in the cache being written to `/root/.cache/restic`, which is not quite right for a system service and also meant, multiple backup services would use the same cache directory - potentially causing issues with locking, data corruption, etc. The goal was to ensure, restic uses the correct cache location for a system service - one cache per backup specification, using `/var/cache` as the base directory for it. systemd sets the environment variable `$CACHE_DIRECTORY` once `CacheDirectory=` is defined, but restic doesn't change its behavior based on the presence of this environment variable. Instead, the specifier [1] `%C` can be used to point restic explicitly towards the correct cache location using the `--cache-dir` argument. Furthermore, the `CacheDirectoryMode=` was set to `0700`, as the default of `0755` is far too open in this case, as the cache might contain sensitive data. [1] https://www.freedesktop.org/software/systemd/man/systemd.unit.html#Specifiers
2021-01-30release-notes/rl-2103: mention deprecation of stdenv.libBen Siraphob
2021-01-27qemu-guest: remove security.rngd settingErik Arvstedt
Since release 20.09 `rngd.enable` defaults to false, so this setting is redundant. Also fix the `qemu-quest` section of the manual that incorrectly claimed that `rngd` was enabled.
2021-01-27Merge pull request #106857 from m1cr0man/masterFlorian Klink
nixos/acme: Fixes for account creation and remove tmpfiles usage
2021-01-26nixos/alsa: disable OSSEmulation by defaultbb2020
OSS Emulation is considered incomplete so disabling it by default. Using user level alsa-oss library (nix-env -iA nixos.alsaOss) over this kernel module is recommended.
2021-01-23nixos/doc/manual: In the preface, add link to #chap-contributingAttila Lendvai
Turned the freetext suggestion about opening the build output into a copy-pastable xdg-open line. Renamed title to 'Contributing to this manual'.
2021-01-23Merge pull request #108983 from markuskowa/dev-mpimarkuskowa
Use mpi attribute consistently to provide a default MPI implementation
2021-01-23lib: Clean up how linux and gcc config is specifiedJohn Ericson
Second attempt of 8929989614589ee3acd070a6409b2b9700c92d65; see that commit for details. This reverts commit 0bc275e63423456d6deb650e146120c39c1e0723.
2021-01-23nixos/release-notes: add comment about generic mpi attributeMarkus Kowalewski
2021-01-22Revert "lib: Clean up how linux and gcc config is specified"Jonathan Ringer
This is a stdenv-rebuild, and should not be merged into master This reverts commit 8929989614589ee3acd070a6409b2b9700c92d65.
2021-01-22Merge pull request #107214 from Ericson2314/linux-config-cleanupJohn Ericson
lib: Clean up how linux and gcc config is specified
2021-01-21lib: Clean up how linux and gcc config is specifiedJohn Ericson
The `platform` field is pointless nesting: it's just stuff that happens to be defined together, and that should be an implementation detail. This instead makes `linux-kernel` and `gcc` top level fields in platform configs. They join `rustc` there [all are optional], which was put there and not in `platform` in anticipation of a change like this. `linux-kernel.arch` in particular also becomes `linuxArch`, to match the other `*Arch`es. The next step after is this to combine the *specific* machines from `lib.systems.platforms` with `lib.systems.examples`, keeping just the "multiplatform" ones for defaulting.
2021-01-21Merge pull request #108909 from thiagokokada/libinput-by-device-typeLinus Heckemann
nixos/libinput: separate settings by mouse/touchpad
2021-01-19nixos/manual: pkgconfig -> pkg-configJonathan Ringer
2021-01-18Merge pull request #89472 from asymmetric/relnotes-grubRyan Mulligan
rl-2003: mention grub 2.04 update
2021-01-13nixos/doc: document services.xserver.libinput changesThiago Kenji Okada
2021-01-13nixos/doc: fix manual reference to libinputThiago Kenji Okada
2021-01-12mariadb: 10.4.15 -> 10.5.8Izorkin
2021-01-12mariadb: drop build server with tokudb storageIzorkin
2021-01-11nixos/doc: add searx changes to the relase notesrnhmjoj
2021-01-10Merge pull request #108726 from omasanori/nixos/netgroupFlorian Klink
nixos/networking: make /etc/netgroup by default
2021-01-10Merge pull request #106082 from rnhmjoj/uwsgiGuillaume Girol
nixos/uwsgi: run with capabilities instead of root
2021-01-10nixos/docs: add uWSGI changes to the relase notesrnhmjoj
2021-01-10Merge pull request #89775 from numinit/update-androidenvJörg Thalheim
2021-01-10Merge pull request #105775 from xaverdh/iwd-link-unitJörg Thalheim
2021-01-10Merge pull request #108897 from pacien/fish-foreign-env-remove-aliasMichele Guerini Rocco
fish-foreign-env: remove alias to incompatible package
2021-01-10nixos/networking: make /etc/netgroup by defaultMasanori Ogino
This will prevent nscd from complaining /etc/netgroup being absent. Signed-off-by: Masanori Ogino <167209+omasanori@users.noreply.github.com>
2021-01-10fish-foreign-env: remove alias to incompatible packagepacien
The fish-foreign-env and the fishPlugins.foreign-env packages aren't compatible due to changes in directory layout. It's better to remove the alias so that the evaluation explicitly fails instead of allowing silent runtime breakage. GitHub: see https://github.com/NixOS/nixpkgs/pull/107834#issuecomment-756995696 GitHub: see https://github.com/LnL7/nix-darwin/issues/269 GitHub: see https://github.com/nix-community/home-manager/issues/1701 GitHub: see https://github.com/nix-community/home-manager/issues/1702
2021-01-09Merge pull request #108107 from talyz/reintroduce-epiphanyWORLDofPEACE
Revert "nixos/gnome3: don't install epiphany default"
2021-01-09nixos/iwd: add release notes for changes to wireless interface renamingDominik Xaver Hörl
2021-01-05Merge pull request #97740 from ju1m/torJörg Thalheim
nixos/tor: improve type-checking and hardening
2021-01-05nixos/gnome3: Note the reintroduction of epiphany in release notestalyz
2021-01-04fish-foreign-env: move to fishPlugins.foreign-envpacien
And relocate the installed fish functions to the `vendor_functions.d` so that they're automatically loaded.
2021-01-04profiles/hardened: Add note about potential instabilitytalyz
Enabling the profile can lead to hard-to-debug issues, which should be warned about in addition to the cost in features and performance. See https://github.com/NixOS/nixpkgs/issues/108262 for an example.
2021-01-03Rework androidenv package generationnuminit
androidenv did not previously write license files, which caused certain gradle-based Android tools to fail. Restructure androidenv's list of Android packages into a single repo.json file to prevent duplication and enable us to extract the EULA texts, which we then hash with builtins.hashString to produce the license files that Android gradle tools look for. Remove includeDocs and lldbVersions, as these have been removed from the Android package repositories. Improve documentation and examples.
2021-01-04nixos/tor: improve type-checking and hardeningJulien Moutinho
Fixes #77395. Fixes #82790.
2021-01-03Merge pull request #108179 from WilliButz/update/prometheus-json-exporter/0.2.0Maximilian Bosch
prometheus-json-exporter: unstable-2017-10-06 -> 0.2.0
2021-01-03nixos/prometheus-exporters: minor doc improvementsMaximilian Bosch
* Content of `programlisting` shouldn't be indented, otherwise it's weirdly indented in the output. * Use `<xref linkend=.../>` in the release notes: then users can directly go to the option documentation when reading release notes. * Don't use docbook tags in `mkRemovedOptionModule`: it's only used during evaluation where docbook isn't rendered.
2021-01-03Merge master into staging-nextgithub-actions[bot]
2021-01-02xfsprogs: 4.19 -> 5.10ajs124
2021-01-02nixos/prometheus-json-exporter: update modules & tests, add release notesWilliButz
2020-12-31Revert "Merge branch 'master' into staging-next"Jörg Thalheim
This reverts commit f19b7b03a03b7f1d5beb44471eb9298de4b9e186, reversing changes made to 572a864d024b0c91ac39133f35364362b2376c07. Sorry. I pushed the wrong staging-next (the one that had my master merged in). This was not intended.
2020-12-31Merge branch 'master' into staging-nextJörg Thalheim
2020-12-30nixos-rebuild: add --impure flagJörg Thalheim
There are two use case for this flag: 1. NixOS developer usually use a nixpkgs checkout for development. Copying nixpkgs everytime when rebuilding NixOS is way to slow, even with NVME disks. 2. Folks migrating from impure configuration in a sufficient complex infrastructure need this flag to gradually migrate to NixOS flakes.
2020-12-30nixos-rebuild: document all nix flagsJörg Thalheim
2020-12-28nixos/acme: update documentation and release notesLucas Savva
The instructions on recreating the cert were missing --what=state. Also added a note on ensuring the group of manual certs is correct.
2020-12-22Merge staging-next into stagingFrederik Rietdijk
2020-12-22nixos/doc: add note about codimd -> hedgedoc to release notesWilliButz
2020-12-21Merge staging-next into staginggithub-actions[bot]