Janne Heß
cfad5e3403
nixos/switch-to-configuration: Improve socket support
...
This commit changes a lot more that you'd expect but it also adds a lot
of new testing code so nothing breaks in the future. The main change is
that sockets are now restarted when they change. The main reason for
the large amount of changes is the ability of activation scripts to
restart/reload units. This also works for socket-activated units now,
and honors reloadIfChanged and restartIfChanged. The two changes don't
really work without each other so they are done in the one large commit.
The test should show what works now and ensure it will continue to do so
in the future.
2021-10-17 14:35:43 +02:00
Janne Heß
744162ffb6
nixos/switch-to-configuration: Fix perlcritic warning
2021-10-17 14:33:42 +02:00
Janne Heß
c4d34cd184
nixos/top-level: Check Syntax of switch-to-configuration
2021-10-17 14:33:42 +02:00
Janne Heß
f0a31f9b9f
nixos/switch-to-configuration: Ignore started scopes
...
They are not managed by us and it might be weird to users to see units
they didn't expect to be started.
2021-10-17 14:33:42 +02:00
Janne Heß
ec619ca369
nixos/switch-to-configuration: Remove unused variable
2021-10-17 14:33:41 +02:00
github-actions[bot]
4454997349
Merge master into staging-next
2021-10-17 12:01:09 +00:00
Thiago Kenji Okada
5f7e675c45
nixos/libvirtd: add qemuOvmfPackage option
2021-10-17 11:39:25 +02:00
github-actions[bot]
aec898bbb2
Merge master into staging-next
2021-10-17 06:01:16 +00:00
Bobby Rong
cae293443b
nixos/pantheon: prefer pantheon.evince
2021-10-17 11:42:22 +08:00
Bobby Rong
ce7479ef91
nixos/evince: add option for specify package
2021-10-17 11:42:22 +08:00
figsoda
471cfaf523
nixos/git: change config type
2021-10-16 22:39:56 -04:00
pennae
c1f5155471
nixos/networking: support FOU encapsulation for sits
2021-10-16 20:48:03 -04:00
pennae
f29ea2d15d
nixos/networking: add foo-over-udp endpoint support
...
allows configuration of foo-over-udp decapsulation endpoints. sadly networkd
seems to lack the features necessary to support local and peer address
configuration, so those are only supported when using scripted configuration.
2021-10-16 20:48:03 -04:00
Ryan Burns
3220fbe696
Merge branch 'master' into staging-next
2021-10-16 16:07:38 -07:00
Artturi
94da5bc7ad
Merge pull request #141169 from ck3d/fix-cross-nixos-influxdb
2021-10-16 07:03:13 +03:00
Martin Weinelt
b84bf1f3c3
Merge pull request #141823 from zopieux/fix-rtl433-hardening
2021-10-16 03:15:52 +02:00
Alexandre Macabies
7fb3edb077
nixos/prometheus-rtl_433-exporter: fix systemd hardening
...
9fea6d4c85
broke rtl_433-exporter by
introducing several hardening options which do not play well with
rtl_433 requiring writing to USB. More precisely, rtl_433 requires
(a) AF_NETLINK to configure the radio; (b) access to the USB device,
but PrivateDevices=true hides them; (c) rw access to the USB device,
but DeviceAllow= block-lists everything.
This commit was tested on real hardware with a standard NixOS setup.
2021-10-16 01:57:50 +02:00
Vladimir Serov
aac4c42551
nixos/doc/manual/release_notes: add kernelParams notes
...
Ran md-to-db.sh, and for some reason got these changes as well. I guess someone
didn't update their manual 🤷
2021-10-16 02:09:28 +03:00
Vladimir Serov
a868222d65
nixos.system.boot.kernel: stronger constraints for kernelParam type
...
Checks whether all spaces are inside double quotes, thus ensuring that one
string parses as no more than one kernel param.
Co-authored-by: pennae <82953136+pennae@users.noreply.github.com>
2021-10-16 01:21:10 +03:00
Martin Weinelt
43a4965bca
nixos/release-notes: render missing docbook
2021-10-15 23:24:33 +02:00
Martin Weinelt
a415d5dd2e
Merge remote-tracking branch 'origin/master' into staging-next
2021-10-15 23:10:08 +02:00
pennae
62813808ff
nixos/unifi, unifi: add pennae to maintainers
2021-10-15 17:14:33 +02:00
Jan Tojnar
db480ed901
Merge pull request #141770 from lorenz/fix-pulseaudio-warning
...
nixos/gdm: remove obsolete pulseaudio module
2021-10-15 16:54:41 +02:00
Lorenz Brun
a3d711f4e1
nixos/gdm: remove obsolete pulseaudio module
...
PulseAudio 14.0 has deprecated that module and moved its functionality into
the core, it does nothing other than
printing an error at every start.
2021-10-15 15:47:31 +02:00
Artturi
3dac8b26d3
Merge pull request #141709 from rembo10/sickbeard-service-fix
2021-10-15 08:45:22 +03:00
rembo10
e8d0afd8d1
nixos/sickbeard: fix the startup command
2021-10-15 08:00:36 +03:00
John Ericson
f2a619bcca
Merge pull request #118960 from kquick/assert_buildmachine_system
...
nixos/nix-daemon: assert system or systems for buildMachines.
2021-10-14 23:51:58 -04:00
wackbyte
0242265e55
nixos/plasma5: add useQtScaling option
...
closes #105943
2021-10-15 11:50:17 +08:00
Pasquale
0878b46917
nixos/release notes: correction
2021-10-15 09:20:13 +08:00
pasqui23
475a6dd9b7
nixos/changelog: rephrasing plasma update
...
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-10-15 09:20:13 +08:00
Pasquale
8d2d64142b
nixos/doc: Plasma wayland changelog
2021-10-15 09:20:13 +08:00
Pasquale
763a0014c8
nixos/plasma: remove dead code
2021-10-15 09:20:13 +08:00
Pasquale
4832352d02
nixos/plasma: use upstream xsession/wayland files
2021-10-15 09:20:13 +08:00
Martin Weinelt
adf4e67dd4
Merge remote-tracking branch 'origin/staging' into staging-next
2021-10-15 01:34:36 +02:00
Luke Granger-Brown
b4b663efc8
Merge pull request #132713 from ncfavier/cups
...
cups: 2.3.3 -> 2.3.3op2
2021-10-14 14:54:08 +01:00
pennae
300226261f
nixos/unifi: fix unifi ExecStop= being incompatible with systemd
...
unifi does not shut down properly when stopped via systemd (it always exits with
SIGTERM exit status) because systemd wants stop commands to not exit before the
main command is gone and unifi does not comply. the easiest way around this is
to have systemd send an ignored signal after the stop command has exited.
unifi may still throw exceptions during shutdown, but it *does* exit cleanly as
far as systemd is concerned now.
2021-10-14 13:26:14 +02:00
Matthias Treydte
72fbd63c5c
nixos/prometheus: fix node exporter timex collector
...
The timex collector (enabled by default) needs the
adjtimex syscall, which was disabled by
9fea6d4c85
.
So allow it unless the timex collector is disabled.
2021-10-14 11:26:29 +02:00
Matthias Treydte
ae7ce180dd
nixos/prometheus: fix node exporter systemd collector
...
The systemd collector needs AF_UNIX to talk to
/var/run/dbus/system_bus_socket, which was broken
with 9fea6d4c85
.
This commit allows AF_UNIX when needed.
2021-10-14 11:26:29 +02:00
Janne Heß
540dc908ca
nixos/test-runner: Print exceptions that happen
2021-10-14 00:15:53 +02:00
Timothy DeHerrera
305ea3e9ed
nixos/nvidia: fix typo in PM assert
2021-10-13 09:39:35 -06:00
Graham Christensen
a997f198a3
Merge pull request #139833 from flox/multipath
...
nixos/multipath: add module for multipath-tools package
2021-10-13 09:58:25 -04:00
Maximilian Bosch
eb3a3725e4
Merge pull request #119638 from beardhatcode/feat/nextcloud-packages
...
nextcloud: add option to set datadir and extensions
2021-10-13 14:26:41 +02:00
Janne Heß
b071aea8d0
nixos/nixos-enter: Add IN_NIXOS_ENTER variable
2021-10-13 13:05:54 +02:00
github-actions[bot]
e69f5a133f
Merge staging-next into staging
2021-10-13 00:02:00 +00:00
Sandro
c984e0beb0
Merge pull request #141326 from bbigras/kopia
2021-10-12 21:09:50 +02:00
Sandro
3cf6c7ba7c
Merge pull request #141258 from waldheinz/broken-host-keys
2021-10-12 20:42:55 +02:00
github-actions[bot]
0cb186d33d
Merge staging-next into staging
2021-10-12 18:01:50 +00:00
Arseniy Seroka
cd53bf7acc
Merge pull request #140076 from jraygauthier/jrg/96633_fix-teamviewer-client-server-issue
...
teamviewer: fix #96633 , #44307 and #97148 + 15.15.5 -> 15.18.5 -> 15.22.3
2021-10-12 20:58:56 +03:00
github-actions[bot]
7af387291c
Merge staging-next into staging
2021-10-12 12:02:08 +00:00
Florian Klink
3dbcbd1bcd
Merge pull request #140278 from ius/systemd-boot
...
systemd-boot: add 'graceful' configuration option
2021-10-12 12:51:20 +02:00
Florian Klink
b112f366fb
Merge pull request #81172 from misuzu/iptables-switch
...
iptables: switch from iptables-legacy to iptables-nftables-compat
2021-10-12 12:38:56 +02:00
Matthias Treydte
97e61a071d
nixos/ssh: take care not to accept empty host key files
...
In case of a power loss shortly after first boot,
the host keys gernerated by ssh-keygen could exist
in the file system but have zero size, preventing
sshd from starting up.
This commit changes the behaviour to generate host
keys if the file either does not exist or has zero
size, fixing the problem on the next boot.
Thanks to @SuperSandro2000 for figuring this out.
2021-10-12 12:25:38 +02:00
Bruno Bigras
bdd81fa056
kopia: 0.8.4 -> 0.9.0
2021-10-12 01:08:43 -04:00
github-actions[bot]
5065827878
Merge staging-next into staging
2021-10-12 00:02:05 +00:00
Jan Tojnar
e859225ee5
Merge pull request #139144 from NixOS/gnome-41
...
GNOME: 40 → 41
2021-10-11 22:59:01 +02:00
github-actions[bot]
92a15c8929
Merge staging-next into staging
2021-10-11 18:01:55 +00:00
Michele Guerini Rocco
02fc8c2367
Merge pull request #140723 from rnhmjoj/pr-fontdir-headless
...
nixos/fontdir: always link the font directory
2021-10-11 19:42:19 +02:00
Maciej Krüger
e4ef597edf
Merge pull request #141255 from mkg20001/lfs
2021-10-11 18:52:03 +02:00
Maciej Krüger
c84b55bbe6
nixos/git: add lfs option to allow enabling and installing lfs easily
...
Co-authored-by: figsoda <figsoda@pm.me>
2021-10-11 17:56:33 +02:00
Joerie de Gram
7bd84b6685
systemd-boot: add 'graceful' configuration option
...
On some systems bootctl cannot write the `LoaderSystemToken` EFI variable
during installation, which results in a failure to install the boot
loader. Upstream provides a flag (--graceful) to ignore such write failures -
this change exposes it as a configuration option.
As the exact semantics of this option appear to be somewhat volatile it
should be used only if systemd-boot otherwise fails to install.
2021-10-11 15:14:33 +02:00
github-actions[bot]
d21a1c3fbc
Merge staging-next into staging
2021-10-11 12:02:07 +00:00
Bobby Rong
dd596307b7
Merge pull request #140820 from VergeDX/kippo-remove
...
kippo: cleanup the corresponding broken module.
2021-10-11 17:19:11 +08:00
github-actions[bot]
03d816e015
Merge staging-next into staging
2021-10-11 00:02:14 +00:00
Martin Weinelt
f358794824
Merge pull request #136039 from jdreaver/prowlarr
2021-10-10 23:30:57 +02:00
David Reaver
11ce481845
nixos/tests/prowlarr: init
2021-10-10 14:05:33 -07:00
David Reaver
3d79c9250a
nixos/prowlarr: init
2021-10-10 14:05:33 -07:00
Michele Guerini Rocco
727fa5a9b1
Merge pull request #141194 from legendofmiracles/wol
...
Adds a notice that the service.wakeonlan module was moved
2021-10-10 21:24:15 +02:00
github-actions[bot]
aac35c22db
Merge staging-next into staging
2021-10-10 18:01:41 +00:00
legendofmiracles
9aae71379d
nixos/wakeonlan: add note to rename.nix
2021-10-10 10:50:16 -06:00
Luflosi
7938ea67a7
nixos/doc/md-to-db.sh: handle path to nixpkgs with spaces
...
Without this change, the script will fail if the path to nixpkgs contains a space.
2021-10-10 11:57:51 +02:00
misuzu
f898fde586
docs/release-notes: mention iptables switch
2021-10-10 11:43:35 +03:00
Christian Kögler
b154b6f7d8
nixos/influxdb: Fix cross compilation for config.toml
2021-10-10 10:34:55 +02:00
github-actions[bot]
1b2b1c3d56
Merge staging-next into staging
2021-10-10 00:02:14 +00:00
Maximilian Bosch
3498c5ff3c
nixos/nextcloud: build manual without warnings
2021-10-09 22:45:39 +02:00
Maximilian Bosch
1ee008fcb5
nixos/nextcloud: fixup #119638
...
A few minor changes to get #119638 - nextcloud: add option to set
datadir and extensions - ready:
* `cfg.datadir` now gets `cfg.home` as default to make the type
non-nullable.
* Enhanced the `basic` test to check the behavior with a custom datadir
that's not `/var/lib/nextcloud`.
* Fix hashes for apps in option example.
* Simplify if/else for `appstoreenable` in override config.
* Simplify a few `mapAttrsToList`-expressions in
`nextcloud-setup.service`.
2021-10-09 22:45:31 +02:00
Jan Tojnar
b2ef3e68e7
nixosTests.gnome: fix
...
GNOME Shell 41 made the Eval command we use for NixOS tests internal
so in order to be still able to use it, we need to run the shell
in an unsafe mode.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1970
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1983
Hopefully, the test driver will eventually get better so that
we will not need hacks like this forever.
2021-10-09 21:35:57 +02:00
Jan Tojnar
80ea989ac9
xdg-desktop-portal-gtk: 1.8.0 → 1.10.0
...
https://github.com/flatpak/xdg-desktop-portal-gtk/releases/tag/1.10.0
2021-10-09 21:35:57 +02:00
Jan Tojnar
ed3b4aa889
nixos/release-notes: Mention GNOME 41
2021-10-09 21:35:56 +02:00
Jan Tojnar
d106b07997
nixos/gnome: use GNOME xdg portal
2021-10-09 21:35:56 +02:00
Maximilian Bosch
7856e40da6
nixos/nextcloud: fix wording in manual
2021-10-09 20:52:52 +02:00
Robbert Gurdeep Singh
1852212872
nixos/nextcloud: fail systemd-service if apps don't activate
2021-10-09 20:33:17 +02:00
Robbert Gurdeep Singh
18b18929d7
nixos/nextcloud: add settings to manage nextcloud apps
...
Note the appstoreEnable which will prevent nextcloud form updating
nix-managed apps. This is needed because nextcloud will store an other
version of the app in /var/lib/nextcloud/store-apps and it will
no longer be manageable.
2021-10-09 20:33:16 +02:00
Robbert Gurdeep Singh
7ba02a7b1e
nixos/nextcloud: add services.nextcloud.datadir setting
...
This option can be used to set an alternative storage location for
files and app metadata.
2021-10-09 20:33:13 +02:00
github-actions[bot]
81e9eafb15
Merge staging-next into staging
2021-10-09 18:01:47 +00:00
Maximilian Bosch
80404a23c9
Merge pull request #140775 from Ma27/nextcloud-docs-and-secrets
...
nixos/nextcloud: manual improvements & pass secrets via the environment to `nextcloud-occ`
2021-10-09 20:01:15 +02:00
Maximilian Bosch
cbfe4a42f6
Merge pull request #140979 from Ma27/matrix-workers
...
nixos/matrix-synapse: minor improvements to implement worker-support
2021-10-09 15:24:41 +02:00
github-actions[bot]
73444b1e90
Merge staging-next into staging
2021-10-09 12:01:44 +00:00
Michele Guerini Rocco
46b2a2594a
Merge pull request #140779 from legendofmiracles/wol
...
nixos/wakeonlan: switch to systemd.link and to nixos/networking
2021-10-09 10:34:26 +02:00
Luke Granger-Brown
856913b191
Merge pull request #136777 from lukegb/buildcatrust
...
use buildcatrust to generate trust stores
2021-10-09 03:39:49 +01:00
github-actions[bot]
605eb4e1e0
Merge staging-next into staging
2021-10-08 18:01:58 +00:00
Maximilian Bosch
f57bed8832
nixos/nextcloud: drop adminpass/dbpass options entirely
2021-10-08 18:30:57 +02:00
ajs124
ae53e57a7a
Merge pull request #133141 from helsinki-systems/feat/jitsi-meet-websocket
...
nixos/jitsi-meet: add support for xmpp-websocket
2021-10-08 16:51:00 +02:00
Michael Brantley
121cfd1998
nixos/multipath: add multipath module
...
The multipath-tools package had existed in Nixpkgs for some time but
without a nixos module to configure/drive it. This module provides
attributes to drive the majority of multipath configuration options
and is being successfully used in stage-1 and stage-2 boot to mount
/nix from a multipath-serviced iSCSI volume.
Credit goes to @grahamc for early contributions to the module and
authoring the NixOS module test.
2021-10-08 09:47:38 -04:00
Graham Christensen
a85dcd9ca3
iscsi root initiator: allow specifying arbitrary iscsi commands too
2021-10-08 09:47:01 -04:00
Graham Christensen
829bbc708b
boot.initrd.extraFiles: allow users to add arbitrary files to the initrd
2021-10-08 09:47:01 -04:00
Maximilian Bosch
b0ab15b0a1
nixos/matrix-synapse: expose rendered config file as readOnly option
2021-10-08 14:51:28 +02:00
github-actions[bot]
5da3c99f54
Merge staging-next into staging
2021-10-08 12:02:03 +00:00
Emil Karlson
d77c75a98e
nixos/nix-daemon: Clarify daemonNiceLevel
...
The option doesn not currently do what some people expect,
clarify the limitations in documentation.
2021-10-08 13:59:35 +03:00
Robert Hensing
4bed9d16cc
Merge pull request #139325 from illdefined/nix-daemon-nice-level
...
modules/nix-daemon: Explain nice level limitations
2021-10-08 12:12:36 +02:00
Vanilla
75ec332e6a
kippo: cleanup the corresponding broken module.
2021-10-08 14:10:49 +08:00