Jörg Thalheim
a14ea3aecc
Merge pull request #97740 from ju1m/tor
...
nixos/tor: improve type-checking and hardening
2021-01-05 16:00:40 +00:00
Michele Guerini Rocco
99bfa4bb60
Merge pull request #107834 from pacien/fishPlugins-init
...
fishPlugins: create scope and add some plugins
2021-01-05 16:48:22 +01:00
talyz
8ed9987894
nixos/gnome3: Note the reintroduction of epiphany in release notes
2021-01-05 16:27:20 +01:00
talyz
6a12654363
Revert "nixos/gnome3: don't put epiphany in favorite apps"
...
This reverts commit 70dc25abd9
.
2021-01-05 16:12:37 +01:00
talyz
39cce2f144
Revert "nixos/gnome3: don't install epiphany default"
...
This reverts commit 13b192749c
, since
https://github.com/NixOS/nixpkgs/issues/98819 is now fixed.
2021-01-05 16:12:31 +01:00
WORLDofPEACE
57e1a17ad0
Merge pull request #108465 from alyssais/getty
...
nixos/getty: rename from services.mingetty
2021-01-05 10:10:34 -05:00
Kevin Cox
e10ef1faec
Merge pull request #108131 from thiagokokada/opentabletdriver-misc-improvements
...
opentabletdriver: misc improvements to package/module
2021-01-05 08:20:39 -05:00
Alyssa Ross
6c3d21aff9
nixos/getty: rename from services.mingetty
...
It's been 8.5 years since NixOS used mingetty, but the option was
never renamed (despite the file definining the module being renamed in
9f5051b76c
("Rename mingetty module to agetty")).
I've chosen to rename it to services.getty here, rather than
services.agetty, because getty is implemantation-neutral and also the
name of the unit that is generated.
2021-01-05 09:09:42 +00:00
Robert Hensing
5540dd9b9b
Merge pull request #108416 from srhb/streamlayeredimage-symlinked-storepaths
...
dockerTools: Fix streamLayeredImage for symlinks
2021-01-05 10:00:28 +01:00
Alyssa Ross
178ec8974f
nixos/nginx: allow overriding fastcgi params
...
By default in Nginx, if you want to override a single fastcgi_param,
you have to override all of them. This is less of a big deal if
you're editing the Nginx configuration directly, but when you're
generating the Nginx configuration with Nix it can be very annoying to
bloat your configuration repeating the default values of FastCGI
parameters every time.
This patch adds a fastcgiParams option to Nginx locations. If any
parameters are set through this, all the default values will be
included as well, so only the ones that are changing need to be
supplied. There's no way to use fastcgiParams to actually override
all parameters if that's what you want, but I think that's a niche use
case and it's still possible using extraConfig, which up until now was
the only option
Nginx allows the fastcgi_param directive in http and server scopes as
well as location, but here I only support location. It would be
possible to support the others, but I don't think it's worth it. It
would be a possible future enhancement if somebody has a need for it.
2021-01-05 03:36:18 +00:00
Léo Gaspard
a7331d1403
nixos tests: fix postgresql-wal-receiver
2021-01-05 04:12:53 +01:00
Léo Gaspard
fe8ec6a07f
nixos tests: fix postgresql-wal-receiver.nix's eval
2021-01-05 04:05:38 +01:00
Aaron Andersen
1a828f66dc
nixos/redis: replace extraConfig option with settings option
2021-01-04 20:08:38 -05:00
Sarah Brofeldt
ffe5ff6009
dockerTools: Test buildLayeredImage with symlinks
...
This exercises layer creation in face of store path symlinks, ensuring
they are not dereferenced, which can lead to broken layer tarballs
2021-01-04 21:44:47 +01:00
Frederik Rietdijk
b20838eb4a
Merge staging-next into staging
2021-01-04 20:51:32 +01:00
pacien
d94921db12
fish-foreign-env: move to fishPlugins.foreign-env
...
And relocate the installed fish functions to the `vendor_functions.d` so
that they're automatically loaded.
2021-01-04 18:53:59 +01:00
Andreas Rammhold
653f805f09
nixos/tests/dovecot: enable dovecot_pigeonhole plugin
...
This plugin is used commonly enough that we should ensure it still
builds (and dovecot works) after loading it.
This is not yet perfect as we aren't testing any of it's functionality
but at least we ensure that dovecot continues to do the regular job.
2021-01-04 18:17:26 +01:00
talyz
0f0d5c0c49
profiles/hardened: Add note about potential instability
...
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-04 16:03:29 +01:00
github-actions[bot]
f0187a2cf3
Merge staging-next into staging
2021-01-04 12:26:43 +00:00
Eelco Dolstra
dd23fc0ca2
Typo
2021-01-04 12:44:03 +01:00
Patryk Wychowaniec
30ccbe8eec
nixos/lxd: disable cgroup v2 when LXD is active
2021-01-04 11:25:30 +01:00
Julien Moutinho
0ccdd6f2b0
nixos/tor: improve type-checking and hardening
...
Fixes #77395 .
Fixes #82790 .
2021-01-04 01:02:26 +01:00
github-actions[bot]
07165c7226
Merge staging-next into staging
2021-01-03 18:38:32 +00:00
Maximilian Bosch
3b57908018
Merge pull request #108179 from WilliButz/update/prometheus-json-exporter/0.2.0
...
prometheus-json-exporter: unstable-2017-10-06 -> 0.2.0
2021-01-03 19:28:12 +01:00
Maximilian Bosch
6e43cc7fb0
nixos/prometheus-exporters: minor doc improvements
...
* 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-03 19:04:33 +01:00
Phillip Cloud
287939e2ed
nixos/prometheus: update relabel_action list
2021-01-03 11:01:30 -05:00
Milan Pässler
12f3e2c42c
nixos/tests/shadow: add switch user subtest
2021-01-03 15:54:48 +01:00
Milan Pässler
018072ea22
nixos/pam: use pam_faillock instead of pam_tally
...
Fixes #108313
\#107185 removed pam_tally, in favor of pam_faillock (see release notes).
2021-01-03 15:54:23 +01:00
Florian Klink
4d36ba1d43
Merge pull request #108032 from andir/systemd-dlopen
...
systemd: patch runtime dlopen calls
2021-01-03 13:33:09 +01:00
Andreas Rammhold
37539e7768
nixos/tests/systemd-journal: ensure that --grep works
...
Previously, after the version bump to v247, we broke journalctl --grep
as libpcre2 was lazily loaded during runtime using dlopen(3). This
ensures that we have a test case that alerts us when it fails again.
2021-01-03 11:50:01 +01:00
zowoq
fb2311d430
Merge staging-next into staging
2021-01-03 16:33:28 +10:00
github-actions[bot]
bc30d1eb34
Merge master into staging-next
2021-01-03 00:56:46 +00:00
ajs124
e78177e55e
Merge pull request #107597 from helsinki-systems/upd/xfsprogs
...
xfsprogs: 4.19 -> 5.10
2021-01-02 23:55:09 +01:00
Tim Steinbach
4c9414d31c
hub: Add test
2021-01-02 15:43:01 -05:00
ajs124
a2267f6341
xfsprogs: 4.19 -> 5.10
2021-01-02 18:45:22 +01:00
Thiago Kenji Okada
a2391053b6
nixos/opentabletdriver: add package option
2021-01-02 14:09:31 -03:00
github-actions[bot]
ec161d2240
Merge master into staging-next
2021-01-02 12:24:09 +00:00
WilliButz
3f94c66ee1
nixos/prometheus-json-exporter: update modules & tests, add release notes
2021-01-02 13:10:27 +01:00
Thomas Tuegel
f69c648da4
Merge pull request #108128 from ttuegel/plasma-sync-qt-version
...
nixos/plasma5: synchronize Qt version with all-packages.nix
2021-01-02 05:47:02 -06:00
Florian Klink
71e24364c9
Merge pull request #108184 from lovesegfault/command-not-found-nix-shell
...
nixos/command-not-found: don't suggest nix-env
2021-01-02 12:04:43 +01:00
Florian Klink
88738dd72d
Merge pull request #106787 from flokli/console-optional-display-manager
...
nixos/console: fix Before= on the systemd-vconsole-setup unit
2021-01-02 11:04:14 +01:00
Bernardo Meurer
e4cd9a8f04
nixos/command-not-found: don't use fancy quotes
2021-01-01 20:04:28 -08:00
Bernardo Meurer
88632b7801
nixos/command-not-found: don't suggest nix-env
2021-01-01 16:29:05 -08:00
github-actions[bot]
0eb369d907
Merge staging-next into staging
2021-01-01 18:39:12 +00:00
github-actions[bot]
c0a9361687
Merge master into staging-next
2021-01-01 18:39:09 +00:00
WilliButz
5e9d92c839
Merge pull request #108142 from Ma27/grafana-img-renderer
...
grafana-image-renderer: init at 2020-12-01
2021-01-01 19:19:51 +01:00
Maximilian Bosch
ca2a67549d
nixos/grafana-image-renderer: init
2021-01-01 19:19:11 +01:00
WilliButz
0587d518db
Merge pull request #107891 from lukegb/smokeping-prober
...
prometheus-smokeping-prober: init at 0.3.1 from git
2021-01-01 16:08:20 +01:00
WilliButz
15c7a0eb18
Merge pull request #108067 from 0x4A6F/master-prometheus-service
...
nixos/prometheus: fix remote_{read,write} options
2021-01-01 16:04:06 +01:00
WilliButz
2b04b8817e
Merge pull request #108096 from lukegb/bird-exporter
...
prometheus-bird-exporter: init at 1.3.5-git
2021-01-01 16:03:37 +01:00
WilliButz
a4960d450e
Merge pull request #107980 from lukegb/grafana-plugins
...
Add Nix packages for Grafana plugins and allow declarative installation
2021-01-01 16:00:17 +01:00
0x4A6F
06414886f1
nixos/prometheus: fix remote_{read,write} options
...
Fix and reorder options and use mkOpt for optional parameters,
according to official documentation.
2021-01-01 14:43:51 +00:00
Thomas Tuegel
e65962eafd
nixos/plasma5: synchronize Qt version with all-packages.nix
2021-01-01 08:26:33 -06:00
Luke Granger-Brown
699e402705
prometheus-bird-exporter: init at 1.3.5-git
2021-01-01 04:43:59 +00:00
github-actions[bot]
a6f7ba3752
Merge staging-next into staging
2020-12-31 18:42:44 +00:00
github-actions[bot]
5dffe03f30
Merge master into staging-next
2020-12-31 18:42:41 +00:00
Samuel Dionne-Riel
4e75a31e98
linux: configure aarch64 contiguous memory allocator via kernel config
...
As per the in-line comment, this is where distros should configure it.
Not via kernel command line parameters.
As found by looking at the implementation, while exploring the cause of
a bug on the Raspberry Pi 4, it was found that `cma=` on the command
line parameters will overwrite the values a device tree will have
configured for a given platform.
With this, the more recent 5.4 vendor kernel boots just fine on the
Raspberry Pi 4 using our common configuration.
2020-12-31 18:20:49 +01:00
Samuel Dionne-Riel
f9d5de05d2
sd-image-raspberrypi4: Use u-boot for booting
...
This includes setting up everything for the mainline Raspberry Pi 4
image.
In fact, the only difference left in the Raspberry Pi 4-specific image
is the kernel from the vendor.
2020-12-31 18:20:49 +01:00
Frederik Rietdijk
f3b4ae8402
Merge staging-next into staging
2020-12-31 13:29:55 +01:00
Frederik Rietdijk
e823016e66
Merge master into staging-next
2020-12-31 13:29:32 +01:00
lewo
7a6a0577f6
Merge pull request #107610 from puffnfresh/patch-3
...
oci-containers: fix containers attribute in docs
2020-12-31 09:39:25 +01:00
Jörg Thalheim
c2fca99f97
Revert "Merge branch 'master' into staging-next"
...
This reverts commit f19b7b03a0
, reversing
changes made to 572a864d02
.
Sorry. I pushed the wrong staging-next (the one that had my master
merged in). This was not intended.
2020-12-31 08:50:36 +01:00
Jörg Thalheim
f19b7b03a0
Merge branch 'master' into staging-next
2020-12-31 07:31:38 +01:00
Niklas Hambüchen
9206c0d115
Merge pull request #41966 from aneeshusa/allow-mutable-shells-for-declarative-users
...
nixos/users: Allow mutable shells for declarative users
2020-12-31 02:03:22 +01:00
Niklas Hambüchen
9424925867
Merge pull request #85244 from tomberek/tomberek/amazon-init
...
amazon-init: add xz to PATH
2020-12-31 01:50:19 +01:00
Niklas Hambüchen
5604a20762
Merge pull request #80769 from chkno/nixos-enter-tmp
...
nixos/nixos-enter: Create /tmp
2020-12-31 01:37:41 +01:00
Silvan Mosberger
ff97a25fc6
Merge pull request #104419 from otavio/topic/shellhub
...
shellhub-agent: Add service and package expressions
2020-12-31 00:07:42 +01:00
Otavio Salvador
06edbabe06
nixos/shellhub-agent: initial service expression
...
This provides the service to configure the ShellHub Agent.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-12-30 19:24:13 -03:00
github-actions[bot]
a342282c91
Merge staging-next into staging
2020-12-30 18:40:48 +00:00
github-actions[bot]
e75c8744cb
Merge master into staging-next
2020-12-30 18:40:45 +00:00
Luke Granger-Brown
d0a9e1ec83
nixos/grafana: add support for declarative plugin installation
2020-12-30 17:59:52 +00:00
Kevin Cox
58f3c19b78
Merge pull request #107638 from thiagokokada/opentabletdriver-init
...
opentabletdriver: init at 0.4.2/add module
2020-12-30 09:18:26 -05:00
Thiago Kenji Okada
791ef2e848
nixos/hardware: add opentabletdriver module
2020-12-30 10:14:30 -03:00
Julien Moutinho
8866576300
nixos/tor: improve type-checking and hardening
...
Fixes #77395 .
Fixes #82790 .
2020-12-30 07:50:44 +01:00
Jörg Thalheim
1024571d35
nixos/nscd: start in early boot
...
Services that have dynamic users require nscd to resolve users
via pam_systemd. Those services might not even create
their own dynamic users itself i.e. iptables.
To make sure nscd is always started when this is happening we move
nscd to sysinit.target and make sure that it is always started before
starting/reloading/restarting any other service.
2020-12-30 07:50:34 +01:00
h0m1
330218e69a
stage-1: create temporary secrets directory in /tmp and not in cwd
2020-12-30 07:50:34 +01:00
Jörg Thalheim
4caaec36dd
amazon-ec2-utils: 0.5.1 -> 1.3
2020-12-30 07:50:33 +01:00
Jörg Thalheim
64a7e509d7
nixos/nix-daemon: fix unknown sandbox warnings
2020-12-30 07:50:32 +01:00
Jörg Thalheim
f84f71e1e0
nixos/nginx: add streamConfig option
2020-12-30 07:50:31 +01:00
Jörg Thalheim
f536901693
nixos/filesystems: don't allow mountpoints with trailing slash
...
They are semantically the same as the non-slash version and therefore
are potential source of duplicates.
Also fixes https://github.com/NixOS/nixpkgs/issues/78951
2020-12-30 07:50:31 +01:00
Jörg Thalheim
19bf53f143
nixos/filesystems: faster nonEmtpyStr check
...
regexes should be faster than nix functions
2020-12-30 07:50:30 +01:00
Jörg Thalheim
b8a19ca2bc
nixos-rebuild: add --impure flag
...
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-30 07:50:30 +01:00
Jörg Thalheim
e1e412215d
nixos-rebuild: document all nix flags
2020-12-30 07:50:30 +01:00
Jörg Thalheim
8420dc923e
homeassistant: support for python_script automation
2020-12-30 07:50:29 +01:00
Jörg Thalheim
9c6f9c4068
redis: fix redis service
2020-12-30 07:50:29 +01:00
Jörg Thalheim
8a6c765832
command-not-found: rewrite in Rust
...
- drops perl + libraries dependencies
2020-12-30 07:50:28 +01:00
Jörg Thalheim
55eaa55922
nixos/redis: set TimeoutStartSec/TimeoutStopSec
2020-12-30 07:50:28 +01:00
github-actions[bot]
38efe39e21
Merge staging-next into staging
2020-12-30 06:22:22 +00:00
github-actions[bot]
056304189c
Merge master into staging-next
2020-12-30 06:22:20 +00:00
Anderson Torres
dff06f0c25
Merge pull request #102973 from pacien/matrix-appservice-discord-v1.0.0
...
matrix-appservice-discord: 0.5.2 -> 1.0.0
2020-12-30 01:09:24 -03:00
Anderson Torres
d7cf89800e
Merge pull request #105831 from pacien/nixos-msmtp-module
...
nixos/msmtp: add msmtp module
2020-12-30 01:08:32 -03:00
Anderson Torres
b17e9cbb8f
Merge pull request #105706 from pacien/ssmtp-config-generator
...
nixos/ssmtp: fix configuration generator to accomodate ssmtp
2020-12-30 01:07:47 -03:00
Ben Sima
dbf9750782
hoogle: set the host to bind on
...
Message-Id: <20201230032048.32626-1-ben@bsima.me>
2020-12-30 04:36:00 +01:00
github-actions[bot]
7e406bcad6
Merge staging-next into staging
2020-12-30 00:53:05 +00:00
github-actions[bot]
31fc475812
Merge master into staging-next
2020-12-30 00:53:01 +00:00
Linus Heckemann
44864fd0f4
Merge pull request #107703 from Atemu/kernel-use-zstd
...
kernel: use zstd
2020-12-30 00:17:59 +01:00
Matt Layher
071c02a4b2
nixos/corerad: use pkgs.formats.toml to generate TOML configuration
...
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-12-29 17:47:01 -05:00
Luke Granger-Brown
3297ac72f1
nixos/prometheus: add smokeping and corresponding NixOS test
2020-12-29 18:59:51 +00:00
github-actions[bot]
ff873c7c21
Merge master into staging-next
2020-12-29 18:40:52 +00:00
Lassulus
86102ebe5e
Merge pull request #107127 from qzle/nixos-container-extraVeth-fix
...
Fix: nixos-container does not always apply extraVeth ips
2020-12-29 19:19:46 +01:00