summary refs log tree commit diff
path: root/nixos
Commit message (Collapse)AuthorAge
* pam: fix spelling mistake in configurationTimmy Xiao2020-05-12
|
* Merge pull request #87581 from cole-h/doasadisbladis2020-05-12
|\ | | | | nixos/doas: default rule should be first
| * nixos/doas: default rule should be firstCole Helbling2020-05-10
| | | | | | | | | | | | | | In /etc/doas.conf, the last-matched rule will override all previously-matched rules. Thus, make the default rule show up first (but still allow some wiggle room for a user to `mkBefore` it), before any user-defined rules.
* | Merge pull request #79966 from chkno/bcacheJacek Galowicz2020-05-12
|\ \ | | | | | | nixos/bcache: Installer test for / on bcache
| * | nixos/bcache: Installer test for / on bcacheChuck2020-02-12
| | |
* | | Merge pull request #87599 from helsinki-systems/znapzend-oracle-modeSilvan Mosberger2020-05-12
|\ \ \
| * | | nixos/znapzend: Add oracleMode feature; add maintainerMichel Weitbrecht2020-05-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The feature destroys snapshots one-by-one instead of all at once. If many snapshots accumulated, destroying them all at once can fail because the argument list is too long. See https://github.com/oetiker/znapzend/blob/master/lib/ZnapZend/ZFS.pm#L284
* | | | Merge pull request #87280 from helsinki-systems/znapzend-mbuffer-pathSilvan Mosberger2020-05-12
|\ \ \ \
| * | | | nixos/znapzend: Use generic mbuffer pathMichel Weitbrecht2020-05-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The configured mbuffer path will be called on both the source and target system. If you use pkgs.mbuffer from the source host and the target host does not have this exact derivation, you will get a broken pipe when sending snapshots. This is the case when transferring to a non-NixOS system or to a host with a different mbuffer version.
* | | | | nixos/pixiecore: fix escaping of cmdlinebetaboon2020-05-12
| | | | |
* | | | | Merge pull request #73530 from eadwu/nvidia/systemd-pmFlorian Klink2020-05-12
|\ \ \ \ \ | | | | | | | | | | | | nixos/nvidia: include systemd power management
| * | | | | nixos/nvidia: include systemd power managementEdmund Wu2020-05-10
| | | | | |
* | | | | | Merge pull request #85428 from serokell/kirelagin/unit-script-nameLinus Heckemann2020-05-12
|\ \ \ \ \ \ | | | | | | | | | | | | | | systemd: Simplify unit script names
| * | | | | | fixup! systemd: Add prefix to unit script derivationsKirill Elagin2020-04-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Avoid extra string interpolation.
| * | | | | | systemd: Add prefix to unit script derivationsKirill Elagin2020-04-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a distinctive `unit-script` prefix to systemd unit scripts to make them easier to find in the store directory. Do not add this prefix to actual script file name as it clutters logs.
| * | | | | | fixup! systemd: Simplify unit script namesKirill Elagin2020-04-17
| | | | | | |
| * | | | | | systemd: Simplify unit script namesKirill Elagin2020-04-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current journal output from services started by `script` rather than `ExexStart` is unreadable because the name of the file (which journalctl records and outputs) quite literally takes 1/3 of the screen (on smaller screens). Make it shorter. In particular: * Drop the `unit-script` prefix as it is not very useful. * Use `writeShellScriptBin` to write them because: * It has a `checkPhase` which is better than no checkPhase. * The script itself ends up having a short name.
* | | | | | | Merge pull request #87632 from chkno/installer-test-machine-name-fixJacek Galowicz2020-05-12
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | nixos/tests/installer: Fix machine name
| * | | | | | | nixos/tests/installer: Fix machine nameChuck2020-05-11
| | | | | | | |
* | | | | | | | Merge pull request #87288 from AndersonTorres/tinywm-uploadAnderson Torres2020-05-11
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | tinywm: init at 2014-04-22
| * | | | | | | | tinywm: init at 2014-04-22AndersonTorres2020-05-08
| | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | A tiny window manger for X11
* | | | | | | | Merge pull request #87314 from matthewbauer/bazel-flatMatthew Bauer2020-05-11
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | | build-bazel-package: switch hash mode to “flat”
| * | | | | | | build-bazel-package: Add hash change to changelogMatthew Bauer2020-05-11
| | | | | | | |
* | | | | | | | Merge pull request #87414 from ↵Florian Klink2020-05-11
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | chkno/specify-shell-when-sudoing-to-user-with-unknown-shell nixos/test-driver: Specify /bin/sh shell when running a bourne shell script as the user
| * | | | | | | | nixos/test-driver: Specify /bin/sh shell when running a bourne shell script ↵Chuck2020-05-09
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | as the user The test harness provides the commands it wishes to run in Bourne syntax. This fails if the user uses a different shell. For example, with fish: machine.wait_for_unit("graphical-session.target", "alice") machine # fish: Unsupported use of '='. To run '-u`' with a modified environment, please use 'env XDG_RUNTIME_DIR=/run/user/`id -u`…' machine # XDG_RUNTIME_DIR=/run/user/`id -u` systemctl --user --no-pager show "graphical-session.target" machine # ^ machine # [ 16.329957] su[1077]: pam_unix(su:session): session closed for user alice error: retrieving systemctl info for unit "graphical-session.target" under user "alice" failed with exit code 127
* | | | | | | | Merge pull request #87593 from vojta001/moneroMichele Guerini Rocco2020-05-11
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | monero: fix rcp.restricted option
| * | | | | | | | monero: fix rcp.restricted optionVojtěch Káně2020-05-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to https://monerodocs.org/interacting/monerod-reference/#node-rpc-api the correct option is restricted-rpc, not restrict-rpc.
* | | | | | | | | Merge pull request #85862 from Izorkin/nginx-pathsJörg Thalheim2020-05-11
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
| * | | | | | | | nixos/nginx: add release notesIzorkin2020-05-04
| | | | | | | | |
| * | | | | | | | nixos/tests/service-runner: change paths to nginx logs and cacheIzorkin2020-05-04
| | | | | | | | |
| * | | | | | | | nixos/awstats: change path to nginx logsIzorkin2020-05-04
| | | | | | | | |
| * | | | | | | | nixos/nginx: change log and cache directoriesIzorkin2020-05-04
| | | | | | | | |
* | | | | | | | | mpd: remove user/group from confDominique Martinet2020-05-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the options should not be set as we already change user with service file, man mpd.conf says "Do not use this option if you start MPD as an unprivileged user" The group option actually is not documented at all anymore and probably no longer exists. These options get in the way of setting up confinement for the service, as it would otherwise be pretty straightforward to setup, but even if mpd is not root it would check the user exists within the chroot which is more work (need to get nss working): systemd.services.mpd = { serviceConfig.BindPaths = [ # mpd state dir "/var/lib/mpd" # notify systemd service started up "/run/systemd/notify" ]; serviceConfig.BindReadOnlyPaths = [ "/path/to/music:/var/lib/mpd/music" ]; # ProtectSystem is not compatible with confinement serviceConfig.ProtectSystem = lib.mkForce false; confinement = { enable = true; binSh = null; mode = "chroot-only"; }; };
* | | | | | | | | nixos/device-tree: fix package name in examplesGaelan2020-05-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | deviceTree_rpi got renamed to device-tree_rpi a while back, so this updates the examples to reflect that.
* | | | | | | | | nixos/confinement: add conflict for ProtectSystem service optionDominique Martinet2020-05-10
| |_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Systemd ProtectSystem is incompatible with the chroot we make for confinement. The options is redundant with what we do anyway so warn if it had been set and advise to disable it. Merges: https://github.com/NixOS/nixpkgs/pull/87420
* | | | | | | | nixos/raspberrypi-builder: fix cross using buildPackagesRichard Marko2020-05-10
| | | | | | | |
* | | | | | | | nixos/uboot-builder: fix cross using buildPackagesRichard Marko2020-05-10
| | | | | | | |
* | | | | | | | nixos/tests/gitdaemon: fix spurious test failures due to flaky networkAndreas Rammhold2020-05-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This test is sometimes flaky on hydra as at the time of the `git clone` the network isn't really configured yet[1]. That problem doesn't seem to occur locally but if you run it on a machine with high enough load (such as hydra build machines). Hopefully this will make the test not flaky anymore. [1] https://hydra.nixos.org/build/118710378/nixlog/21/raw
* | | | | | | | Merge pull request #77054 from formbay/nvidia-persistencedJosé Romildo Malaquias2020-05-10
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | nixos/nvidia : added nvidia-persistenced
| * | | | | | | | nixos/nvidia : added nvidia-persistencedRakesh Gupta2020-03-09
| | | | | | | | |
* | | | | | | | | Merge pull request #86488 from cole-h/doasadisbladis2020-05-10
|\ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ | |/| | | | | | | nixos/doas: init
| * | | | | | | | rl-2009: document new module security.doasCole Helbling2020-05-05
| | | | | | | | |
| * | | | | | | | nixos/doas: initCole Helbling2020-05-04
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `doas` is a lighter alternative to `sudo` that "provide[s] 95% of the features of `sudo` with a fraction of the codebase" [1]. I prefer it to `sudo`, so I figured I would add a NixOS module in order for it to be easier to use. The module is based off of the existing `sudo` module. [1] https://github.com/Duncaen/OpenDoas
* | | | | | | | Merge pull request #87212 from matthewbauer/dont-include-gdk-pixbuf-module-fileMatthew Bauer2020-05-09
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | nixos/gdk-pixbuf.nix: don’t set GDK_PIXBUF_MODULE_FILE in cross
| * | | | | | | | nixos/gdk-pixbuf.nix: don’t set GDK_PIXBUF_MODULE_FILE in crossMatthew Bauer2020-05-07
| | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From 6c5983a291530f040deb97881e80cca373a5b29e, this should not be necessary for gdk-pixbuf to work correctly.
* | | | | | | | Revert "nixos/resolved: Include dbus alias of resolved unit"Florian Klink2020-05-09
| |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | This reverts commit 7fe539f79900efb6b8b6265ade11fdab460ca1da.
* | | | | | | Merge pull request #87263 from arianvp/resolved-dbusFlorian Klink2020-05-09
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | nixos/resolved: Include dbus alias of resolved unit
| * | | | | | | nixos/resolved: Include dbus alias of resolved unitArian van Putten2020-05-08
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will make dbus socket activation for it work When `systemd-resolved` is restarted; this would lead to unavailability of DNS lookups. You're supposed to use DBUS socket activation to buffer resolved requests; such that restarts happen without downtime
* | | | | | | Merge pull request #87191 from edolstra/no-nested-logsEelco Dolstra2020-05-09
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | testing{-python}.nix: Remove log pretty-printing cruft
| * | | | | | | testing{-python}.nix: Remove log pretty-printing cruftEelco Dolstra2020-05-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This completes the removal of the nested log feature, which previously got removed from Nix, Hydra, stdenv and GNU Make. In particular, this means that the output of VM builds no longer contains a copy of jQuery.