Robert Hensing
82da0794c2
nixos-generate-config: Make robust against missing newline
...
The substr solution assumed a newline to be present.
The new solution will not remove the newline if it goes missing in the future.
Apparently this is idiomatic perl.
Thanks pennae for the suggestion!
2022-06-21 14:37:16 +02:00
Robert Hensing
1b4f4ddb5b
release-notes: Add nixpkgs.hostPlatform changes
2022-06-21 14:22:37 +02:00
Robert Hensing
fc0971f436
nixos-generate-config: nixpkgs.system -> nixpkgs.hostPlatform
2022-06-21 14:22:36 +02:00
Robert Hensing
c9fea8c03c
nixos: Add simplified nixpkgs.{hostSystem,buildSystem}
2022-06-21 14:22:36 +02:00
Robert Hensing
a234fb2a5b
nixos-generate-config: Add nixpkgs.system to hardware-config.nix
2022-06-21 14:21:17 +02:00
Robert Hensing
e2c261f2c0
Merge pull request #176146 from pennae/module-docs-markdown
...
treewide: markdown option docs
2022-06-21 13:16:02 +02:00
Maximilian Bosch
5ab65d9cd1
nixos/prometheus-postfix-exporter: fixes for systemd integration
...
* Allow the service to read from the journal w/systemd.enable
* Ensure that the service is started after postfix.service
2022-06-20 19:30:59 +02:00
pennae
9e109ffdb5
Merge pull request #178110 from pennae/fix-networkd-gateways
...
nixos/networking: fix v4+v6 default gateways with networkd
2022-06-20 14:17:41 +00:00
Sandro
b3df41c011
Merge pull request #177913 from Yarny0/clickshare
...
{nixos/,}clickshare-csc1: remove (qt4)
2022-06-20 15:55:24 +02:00
Lassulus
eb013128da
Merge pull request #178195 from dnr/pipewire-systemwide
...
nixos/pipewire: fix wireplumber with system-wide
2022-06-19 12:42:37 +02:00
Florian Klink
8b926cad93
nixos/tests/grafana-agent: update port
...
We now don't explicitly configure a self-chosen port, but use the
default port choosen by grafana, 12345.
2022-06-19 12:23:06 +02:00
Florian Klink
5f297c164e
nixos/grafana-agent: add myself as maintainer
2022-06-19 11:50:32 +02:00
Florian Klink
b09836593e
nixos/grafana-agent: move remote write config from integrations.prometheus_remote_write to metrics.global.remote_write
...
remote_write config in integrations.prometheus_remote_write is only
applied for integrations, so static configurations won't get written
anywhere.
2022-06-19 11:50:32 +02:00
Florian Klink
e578b4d3ed
nixos/grafana-agent: drop server.{grpc,http}_listen_address,http_listen_port
...
According to https://grafana.com/docs/agent/latest/upgrade-guide/#v0240 ,
this has been deprecated/moved to -server.http.address and
-server.grpc.address (accepting ip and port) config options in v0.24.0,
and already listens on localhost and not port 80 by default.
2022-06-19 11:50:31 +02:00
Florian Klink
2cca676e69
nixos/grafana-agent: replace settings.prometheus
with settings.metrics
...
According to https://github.com/grafana/agent/pull/1540 , -prometheus.*
flages were deprecated in 0.19.0 in favor of the -metrics.*
counterparts. Same applies to `loki` being renamed to `logs`.
I'm not sure if the config file format is still supported (it could be),
but we shouldn't use deprecated configs.
2022-06-19 11:50:31 +02:00
Florian Klink
4386cb104e
Merge pull request #178200 from lopsided98/device-tree-preprocessor
...
nixos/device-tree: preprocess overlays before compiling
2022-06-19 11:13:54 +02:00
Jörg Thalheim
96b227697f
Merge pull request #177785 from Mic92/navidrome
...
nixos/navidrome: fixes missing ssl certficates
2022-06-19 07:07:41 +01:00
Jörg Thalheim
f5ca531054
Merge pull request #158602 from hercules-ci/systemd-unit-mixed-list-error
...
nixos/systemd: Custom error when mixing list/non-list defs
2022-06-19 07:05:04 +01:00
Ben Wolsieffer
754005bf48
nixos/device-tree: preprocess overlays before compiling
...
Run the device tree overlays through the preprocessor before compiling it, as
is done in the kernel. This helps make overlays easier to understand, and
improves compatibility with those found in the wild.
I found the correct command line by running the kernel build with V=1, and then
removing all the arguments related to dependency tracking.
2022-06-18 22:24:30 -04:00
Ben Wolsieffer
8e4b3323d1
nixos/device-tree: use new overlay syntax in example
...
Since dtc 1.4.7 (released in 2018), there has been a much nicer syntax for
device tree overlays. This commit converts the dtsText example to use this
syntax.
2022-06-18 22:24:30 -04:00
David Reiss
33163bd0ef
nixos/pipewire: fix wireplumber with system-wide
2022-06-18 18:46:41 -07:00
Sandro
861771aac2
Merge pull request #177174 from fgaz/zeronet-conservancy/0.7.6
...
zeronet-conservancy: 0.7.5 -> 0.7.6, add nixos test
2022-06-19 01:34:44 +02:00
Francesco Gazzetta
3cfdd35ff6
zeronet-conservancy: add nixos test
2022-06-18 22:06:55 +02:00
Yarny0
bd86db1833
{nixos/,}clickshare-csc1: remove (prepare Qt4 removal)
...
Qt4 is on it's way out, according to
https://github.com/NixOS/nixpkgs/pull/174634
Barco's ClickShare driver/client requires Qt4;
an update isn't in sight anywhere.
To prepare for the removal of Qt4,
the commit at hand removes the
ClickShare package and its NixOS module.
The release notes are appended with a hint about the
removal and some alternatives that might help users
that are still in need of the driver/client functionality.
2022-06-18 11:47:08 +02:00
Martin Weinelt
86c4f203c1
Merge pull request #176475 from vlinkz/calamaresupdates
2022-06-18 10:11:06 +02:00
pennae
da28b26d64
nixos/networking: fix v4+v6 default gateways with networkd
...
fixes #178078
2022-06-18 09:33:35 +02:00
Kevin Cox
b2537dc430
Merge pull request #177561 from max-privatevoid/ipfs-dont-leak-config
...
nixos/ipfs: do not leak config to journal on startup
2022-06-17 19:37:33 -04:00
Max
2a8bf9777d
nixos/ipfs: do not leak config to journal on startup
...
The preStart script for the IPFS service will print parts of the configuration
to stdout (and therefore, the journal) when applying profiles on startup. This
may lead to unwanted disclosure of private information, such as remote pinning
service API keys. Fix by sending stdout to /dev/null.
2022-06-17 23:41:27 +02:00
Sandro
8effa309cc
Merge pull request #176379 from SuperSandro2000/network-setup
...
nixos/network-interfaces-scripted: remove network-setup unit if unused
2022-06-17 22:36:45 +02:00
Sandro
0e6db671a0
Merge pull request #178009 from bbenno/update-gollum
...
gollum: 5.2.3 -> 5.3.0
2022-06-17 21:08:57 +02:00
Maciej Krüger
fc996dab2f
Merge pull request #178039 from adamcstephens/lxc-template-docs
2022-06-17 20:37:02 +02:00
Sandro
558031dcf7
Merge pull request #178041 from vcunat/p/annoying-tests
...
nixos/tests/fcitx: disable
2022-06-17 20:20:52 +02:00
Thiago Kenji Okada
4cf04594a9
Merge pull request #172660 from NickCao/nvidia-open
...
nvidia-open: init at 515.43.04
2022-06-17 18:59:32 +01:00
Vladimír Čunát
7e2a357edb
nixos/tests/fcitx: disable
...
It never worked on 21.11 and still does not:
https://hydra.nixos.org/job/nixos/release-21.11/nixos.tests.fcitx.x86_64-linux/all
https://hydra.nixos.org/job/nixos/trunk-combined/nixos.tests.fcitx.x86_64-linux/all
and it frequently makes big channels wait (same on aarch64-linux).
2022-06-17 18:16:12 +02:00
Adam Stephens
2e090e0d60
nixos/lxc-container: improve template example
2022-06-17 11:42:16 -04:00
Benno Bielmeier
be0e2db8b9
nixos/gollum: add option local-time
...
This feature was introduced in gollum v5.3.0
2022-06-17 12:50:47 +02:00
Benno Bielmeier
9434ac0963
nixos/gollum: improve description of user-icons option
2022-06-17 12:50:13 +02:00
Robert Hensing
3624bb535f
nixosTests.convos: Fix missing port variable
2022-06-17 12:24:52 +02:00
Robert Hensing
2c8bbf33fd
nixos/test-driver: Support mypy through regular mechanisms
2022-06-17 12:22:57 +02:00
Robert Hensing
152736d39e
nixosTests.acme: Fix typechecking, avoiding type reassignment
2022-06-17 11:45:19 +02:00
Jörg Thalheim
5d54641d7f
Merge pull request #177790 from superherointj/package-k3s-1.24.1+k3s1
...
k3s: 1.23.6+k3s1 -> 1.24.1+k3s1
2022-06-17 08:38:10 +01:00
Lily Foster
b5818b7a30
nixos/pipewire: only add pipewire-pulse.conf conditionally
2022-06-15 15:05:44 -07:00
Lily Foster
1e3747b98b
nixos/pipewire: add pkgs.pulseaudio to pipewire-pulse user unit path
2022-06-15 15:05:44 -07:00
superherointj
a6a0c44760
k3s: remove docker support
2022-06-15 16:40:29 -03:00
Jörg Thalheim
c772b13ee7
nixos/navidrome: fixes missing ssl certficates
2022-06-15 20:40:07 +02:00
Jonas Chevalier
9c587c51ac
Merge pull request #177743 from zimbatm/grafana-agent-module
...
nixos: add grafana-agent module
2022-06-15 16:22:54 +02:00
Bobby Rong
284ccb5f4d
Merge pull request #177111 from samuela/upkeep-bot/vscodium-1.68.0-1654822313
...
vscodium: 1.67.2 -> 1.68.0
2022-06-15 22:13:41 +08:00
Bobby Rong
fe1f4564af
nixos/tests/vscodium: skip type check for now
2022-06-15 22:01:04 +08:00
Silvan Mosberger
8f8db59c0e
Merge pull request #163617 from hercules-ci/lib-types-deferredModule
...
lib.types: Add deferredModule
2022-06-15 13:23:43 +02:00
zimbatm
31b47913f3
nixos: add grafana-agent module
...
Easily ship logs and metrics to Grafana Cloud and other similar targets.
2022-06-15 12:59:06 +02:00