summaryrefslogtreecommitdiffstats
path: root/nixos/modules
AgeCommit message (Collapse)Author
2020-02-28nixos/pantheon: add docsworldofpeace
2020-02-17Merge pull request #80032 from Mic92/redisJörg Thalheim
nixos/redis: add requirePassFile option
2020-02-16Merge pull request #80204 from CRTified/fix/issue-76620Silvan Mosberger
docker-containers: Move ExecStartPre/ExecStopPost to preStart/postStop
2020-02-16shorewall: fix warnings due to types.loaOf being deprecated (#80154)Julien Moutinho
2020-02-15nixos/docker-containers: Move ExecStartPre/ExecStopPost to preStart/postStopCRTified
This commit fixes #76620. It moves ExecStartPre and ExecStopPost to preStart and postStop, as these options are composable. It thus allows adding additional initialisation scripts or cleanup scripts to the systemd unit of the docker container.
2020-02-15nixos/postgresql: Change local auth method from ident to peer (#80179)gtgteq
2020-02-15grub: Update extraConfig example text (#79406)Benjamin Staffin
This expands the example to something one might actually want to use to set up a serial console.
2020-02-15nixos/modules/misc/version.nix: Don't parse .gitEelco Dolstra
This leads to inconsistent results between local builds and Hydra. Also Nix is not a general purpose language, we shouldn't be parsing .git from inside Nix code.
2020-02-15nixos/modules/installer/cd-dvd/channel.nix: Handle null ↵Eelco Dolstra
config.system.nixos.revision
2020-02-15nixos/nixos-build-vms: switch to python test-driverMaximilian Bosch
In 0945178b3c6fd9e33002dd6e3c6f77dfca49565a we decided that Perl-based VM tests should be deprecated and will be removed between 20.03 and 20.09. So let's switch `nixos-build-vms(8)` to python as well (which is entirely interactive, so other scripts won't break). In my experience, the test-driver isn't used most of the time, so this patch is mainly supposed to get rid of the (probably misleading) deprecation warning when running `nixos-build-vms`. Apart from that, the interface for python's test-driver is way nicer.
2020-02-15nixos/manual: fix buildMaximilian Bosch
2020-02-15Merge pull request #79266 from Mic92/knotJörg Thalheim
nixos/knot: add keyFiles option
2020-02-15docker-containers: Add autoStart option (#76480)Atemu
This option allows the user to control whether or not the docker container is automatically started on boot. The previous default behavior (true) is preserved
2020-02-14nixos/postgresql: support 0750 for data directory (#65245)Danylo Hlynskyi
* nixos/postgresql: support 0750 for data directory This is rework of part of https://github.com/NixOS/nixpkgs/pull/46670. My usecase was to be able to inspect PG datadir as wheel user. PG11 now allows starting server with 0750 mask for data dir. `groupAccess = true` now does this automatically. The only thing you have to do is to set group ownership. For PG10 and below, I've described a hack how this can be done. Before this PR hack was impossible. The hack isn't ideal, because there is short period of time when dir mode is 0700, so I didn't want to make it official. Test/example is present too. * postgresql: allow changing initidb arguments via module system Closes https://github.com/NixOS/nixpkgs/issues/18829 + some cleanups * addressed review comments and some fixes * whoops * change groupAccess to tristate, to not force `chmod` on dataDir. Making mask either 0700 or 0750 is too restrictive.. * WIP * let's not support group mode for versions pre-11. The only fix is to change mode to 0700 before start, because otherwise postgresql doesn't start, and error is non-obvious.
2020-02-14let's not support group mode for versions pre-11.danbst
The only fix is to change mode to 0700 before start, because otherwise postgresql doesn't start, and error is non-obvious.
2020-02-14Merge branch 'master' into postgresql_groupdanbst
2020-02-14installation-cd-graphical-base.nix: adding git (#79098)snicket2100
2020-02-14Merge pull request #80090 from crabtw/masterMichele Guerini Rocco
nixos/pppd: fix build error
2020-02-14Merge pull request #80076 from rnhmjoj/alsaMichele Guerini Rocco
nixos/alsa: replace list by attrset in environment.etc
2020-02-14nixos/pppd: fix build errorJyun-Yan You
2020-02-14nixos/unclutter: fix remaining typornhmjoj
2020-02-14nixos/alsa: replace list by attrset in environment.etcrnhmjoj
2020-02-13Merge pull request #78360 from serokell/mkaito/caddy-restartFlorian Klink
nixos/caddy: resync with upstream unit file
2020-02-13Merge pull request #79663 from primeos/brightnessctl-systemd-supportFlorian Klink
brightnessctl: Add systemd support
2020-02-13nixos/redis: add requirePassFile optionJörg Thalheim
Avoids having the password in the nix store.
2020-02-13Merge pull request #79967 from grahamc/nixos-enter-fd2Graham Christensen
nixos-enter: redirect to fd2 instead of a file named /dev/stderr
2020-02-13Merge pull request #79961 from dtzWill/update/iwd-1.5Jörg Thalheim
ell,iwd: 0.28, 1.5, minor touchups, drop tmpfiles snippet
2020-02-13Merge pull request #79998 from rnhmjoj/urxvt-fixMichele Guerini Rocco
rxvt-unicode: fix typo in aliases.nix
2020-02-13Merge pull request #76481 from fare-patches/vesaMarek Mahut
Deprecate the boot.vesa option
2020-02-13nixos/sway: use new package name for rxvt-unicodernhmjoj
2020-02-13nixos/urxvtd: use new package name for rxvt-unicodernhmjoj
2020-02-12Merge pull request #69125 from jslight90/mattermost-5.15Ryan Mulligan
mattermost: 5.9.0 -> 5.15.0
2020-02-12nixos-enter: redirect to fd2 instead of a file named /dev/stderrGraham Christensen
In some cases, /dev/stderr may not point to a sensible location. For example, running nixos-enter inside a systemd unit where the unit's StandardOutput and StandardError are set to be sockets. In these cases, this line would fail. Piping to fd2 directly works just as well, even under strange and twisted executions. Co-authored-by: Michael Bishop <michael.bishop@iohk.io>
2020-02-12iwd: drop tmpfiles snippet, services use StateDirectory alreadyWill Dietz
Originally added in [1], and iwd added StateDirectory to its services in [2] -- 4 days later. ("StateDirectory wasn't used when tmpfile snippet was added to NixOS") (nevermind git -> release delay) [1] 6e54e9253a28d1fe5c507b76ce45965c31ecab70 [2] upstream iwd git rev: 71ae0bee9c6320dae0083ed8c1700bc8fff1defb
2020-02-12Merge pull request #79830 from ilya-fedin/fix-xdg-current-desktopworldofpeace
Add DesktopNames parameter to generated desktop session files
2020-02-12Merge pull request #79862 from flokli/fix-run-keysFlorian Klink
nixos/filesystems: don't chown /run/keys recursively
2020-02-12knot: add keyFiles optionJörg Thalheim
This useful to include tsig keys using nixops without adding those world-readable to the nix store.
2020-02-12knot: drop dynamic userJörg Thalheim
This makes it hard to include secret files. Also using tools like keymgr becomes harder.
2020-02-12nixos/display-managers: Add DesktopNames parameter to generated desktop ↵Ilya Fedin
session files Some display managers (e.g. SDDM) set the XDG_CURRENT_DESKTOP variable accroding to this parameter. If this variable is not defined, there will be some problems (e.g. MATE doesn't have icons on the desktop). Fixes https://github.com/NixOS/nixpkgs/issues/71427
2020-02-12Merge pull request #71302 from tokudan/encrypted-swap-entropy-fixMichele Guerini Rocco
rngd: Start early during boot and encrypted swap entropy fix
2020-02-11nixos/filesystems: don't chown /run/keys recursivelyFlorian Klink
3c74e48d9c8dbcede89a72ea18cd27def4b498a9 was a bit too much, it updated permissions of all files recursively, causing files to be readable by the group. This isn't a problem immediately after bootup, but on a new activation, as tmpfiles.d get restarted then, updating the permission bits of now-existing files. This updates the `Z` to be a `z` (the non-recursive variant), and adds a `d` to ensure a directory is created (which should be covered by the initrd shell script anyway)
2020-02-10nixos/brightnessctl: Remove the moduleMichael Weiss
Due to the support of the systemd-logind API the udev rules aren't required anymore which renders this module useless [0]. Note: brightnessctl should now require a working D-Bus setup and a valid local logind session for this to work. [0]: https://github.com/NixOS/nixpkgs/pull/79663
2020-02-10Merge pull request #79416 from jtojnar/flatpak-1.6worldofpeace
flatpak: 1.4.2 → 1.6.1
2020-02-10xdg-desktop-portal: 1.4.2 → 1.6.0Jan Tojnar
* https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.6.0 * https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.5.4 * https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.5.3 * https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.5.2 * https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.5.1 * https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.5.0
2020-02-10Merge pull request #79747 from mmilata/fix-mangled-usernamesMichele Guerini Rocco
nixos: fix bunch of mangled usernames
2020-02-10Merge pull request #79744 from ttuegel/bug--plasma-5.17-portsThomas Tuegel
nixos/plasma5: Port initial configurations from Plasma 5.16
2020-02-10nixos/supybot: fix usernameMartin Milata
Broken in 1d61efb7f177f7b70c467ab4940fde0a3481d4dc.
2020-02-10nixos/statsd: fix usernameMartin Milata
Broken in 1d61efb7f177f7b70c467ab4940fde0a3481d4dc.
2020-02-10nixos/heapster: fix usernameMartin Milata
Broken in 1d61efb7f177f7b70c467ab4940fde0a3481d4dc.
2020-02-10Merge pull request #68897 from edolstra/masterEelco Dolstra
Flake support