3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

23220 commits

Author SHA1 Message Date
Bernardo Meurer 9959fe259d
Merge pull request #195135 from maxbrunet/feat/automatic-timezoned/init 2022-11-17 08:28:40 -05:00
Artturi 24cc9c3c73
Merge pull request #201183 from Artturin/utempter
tmux: build with utempter
2022-11-17 12:10:41 +02:00
adisbladis 841bcc7a24
Merge pull request #185129 from Munksgaard/fix-nixos-container
nixos-containers: Make sure same version of nixos-container is used
2022-11-17 22:13:44 +13:00
Maxime Brunet 29b5192b08
automatic-timezoned: init at 1.0.41 2022-11-16 15:26:21 -08:00
Florian Klink 67e0d7a1bf
Merge pull request #199352 from symphorien/deadlock-post-resume
nixos/power-management: fix deadlock with post-resume.{target,service}
2022-11-16 21:25:40 +00:00
Thiago Kenji Okada 6785dae748 nixos/picom: remove experimentalBackends option
Removed by upstream in the recent v10 release.
2022-11-16 20:13:42 +00:00
Will Fancher 688fa4133d
Merge pull request #201396 from ElvishJerricco/systemd-util-linux-path-stage-1-fix
nixos: Fix systemd stage 1 after #201266
2022-11-16 11:48:39 -05:00
Jörg Thalheim c48d83b7bf
Merge pull request #197536 from eigengrau/zsh-init-no-unset
nixos/zsh: don’t be noisy when scripts are run with -u
2022-11-16 09:46:39 +01:00
Brian Cooper 8b013b65a6
nixos/misc: fix grammar typo 2022-11-16 06:54:04 +00:00
Carl Richard Theodor Schneider 647ed242dc nixos/adguardhome: allow for empty/unmanaged configs
This commit fixes broken non-declarative configs by
making the assertions more relaxed.
It also allows to remove the forced configuration merge by making
`settings` `null`able (now the default).

Both cases (trivial non-declarative config and `null`able config) are
verified with additional tests.

Fixes #198665
2022-11-15 23:43:15 -05:00
Sandro 655ab77b16
Merge pull request #198724 from Izorkin/update-peertube 2022-11-16 02:51:47 +01:00
Sandro 8ef6a0aca6
Merge pull request #188467 from kekrby/fix-gtk-icon-cache 2022-11-16 02:03:15 +01:00
Will Fancher b28ecff1e6 nixos: Add util-linux to systemd PATH to fix fsck with systemd 251.6
This is an alternative to the reverted
d9b1bde390, which broke systemd stage 1
2022-11-15 17:54:32 -05:00
Will Fancher acecd1ec7b Revert "nixos: Fix fsck with systemd 251.6 and later"
This reverts commit d9b1bde390.
2022-11-15 17:45:38 -05:00
Sandro a51b4f21fb
Merge pull request #198217 from eigengrau/shell-alias-double-dash 2022-11-15 23:41:05 +01:00
Pierre Bourdon 4ac2dbfec5
Merge pull request #201329 from jqqqqqqqqqq/master
nixos/nginx: fix default listen port options
2022-11-15 17:57:51 +01:00
Curtis Jiang f7bed8cd44 nixos/nginx: fix default listen port options 2022-11-15 15:11:52 +00:00
Florian Klink 8db9c4ed3f
Merge pull request #201266 from aszlig/fix-fsck
nixos: Fix fsck with systemd 251.6 and later
2022-11-15 08:17:53 +00:00
Franz Pletz f0609d6c05
Merge pull request #198529 from jqqqqqqqqqq/master 2022-11-15 04:58:47 +01:00
Curtis Jiang 81cd6b06f9 nixos/nginx: add default listen port options 2022-11-15 02:00:03 +00:00
aszlig d9b1bde390
nixos: Fix fsck with systemd 251.6 and later
Version 251.6 of systemd introduced a small change[1] that now checks
whether the fsck command is available in *addition* to the filesystem
specific fsck.$fsname executable.

When bumping systemd to version 251.7 on our side[2], we introduced that
change. This subsequently caused our "fsck" test to fail and it looks
like this was an oversight during the pull request[3] introducing the
bump.

Since the fsck wrapper binary is in util-linux, I decided to address
this by adding util-linux to fsPackages because util-linux is already
part of the closure of any NixOS system so the impact should be pretty
low.

[1]: 73db7d9932
[2]: 844a08cc06
[3]: https://github.com/NixOS/nixpkgs/pull/199618

Signed-off-by: aszlig <aszlig@nix.build>
2022-11-15 02:15:54 +01:00
Artturin 2af809015a nixos/tmux: add withUtempter option 2022-11-14 15:26:19 +02:00
Markus Partheymueller 5bc1b01a40
boot.loader.systemd-boot: add extraInstallCommands option (#200715) 2022-11-14 14:20:58 +01:00
Bryan Richter e3fc19b301
nixos/nginx: docs: Update formatting
* Capitalize ACME
* Use bold instead of ALL CAPS
* Tweak sentence structure
2022-11-14 12:24:17 +02:00
Bryan Richter fd9eed5bf3
nixos/nginx: Extend acmeFallbackHost documentation
This extra example would have saved me a lot of uncertainty and doubt.
2022-11-14 11:54:33 +02:00
Franz Pletz 69f8e94c46
Merge pull request #199587 from lorenz/fscrypt
nixos/pam: support fscrypt login protectors
2022-11-14 09:42:35 +01:00
Franz Pletz 2274143409
Merge pull request #200611 from fpletz/libvirtd-fix-autostart 2022-11-14 09:21:00 +01:00
Elis Hirwing 04dea74eae
Merge pull request #194172 from drupol/php/enable-nts-by-default
php: enable `nts` flags by default
2022-11-13 13:33:27 +01:00
clerie 159d73f7a3 nixos/chisel-server: add module 2022-11-13 12:02:34 +01:00
Pol Dellaiera 364a7d2920
php: switch to nts by default 2022-11-13 11:47:27 +01:00
Guillaume Girol 4c633f0301
Merge pull request #199667 from bjornfor/nixos-sane-indirection-for-quick-reload
nixos/sane: point env vars to /etc for quick reload
2022-11-13 10:05:05 +00:00
Sandro Jäckel 5f03b6ddfc
nixos/console: move enable option out of let in 2022-11-12 23:40:20 +01:00
Justinas Stankevicius 3f6eb10dbd nixos/mastodon: fix definition of mastodon-media-auto-remove 2022-11-12 22:22:41 +01:00
Sandro 9477fa1e44
Merge pull request #197917 from SuperSandro2000/kernel-enable 2022-11-12 21:12:56 +01:00
Robert Schütz 257ec177c8 nixos/syncthing: disallow relative paths
Relative paths are interpreted relative to the working directory, which
is currently unset and thus defaults to `/`. However we want to change
the working directory in a future release such that relative paths are
interpreted relative to `/var/lib/syncthing`.
2022-11-12 11:37:23 -08:00
happysalada e2bb1e774b erigon: module: better secret management 2022-11-12 14:29:43 -05:00
Bernardo Meurer 39e63f110e
nixos/man-db: allow man-cache to be fetched from cache
Currently, we build `man-cache` with `runCommandLocal`, which causes it
to get re-built locally instead of fetched from cache. While the
resulting derivation might be small, it does take a fair bit of time to
build for all my systems, and would be _far_ quicker to fetch.

With this change, we use `runCommand` instead of `runCommandLocal`,
allowing it to get fetched from cache instead of rebuilt for all hosts.
2022-11-12 18:33:13 +00:00
Martin Weinelt 7478655ee7
Merge pull request #198631 from fedeinthemix/fix-languagetool 2022-11-12 15:18:10 +01:00
Bobby Rong 3403c98eb4
Merge pull request #200167 from bobby285271/cinnamon
nixos/cinnamon: make it possible to remove core packages
2022-11-12 08:56:04 +08:00
Florian Klink 989eb42390
Merge pull request #200421 from lovesegfault/udisks-libblockdev-cfg
nixos/udisks2: symlink libblockdev configs
2022-11-11 20:38:46 +00:00
Lorenz Brun f046cc0923 nixos/pam: support fscrypt login protectors
fscrypt can automatically unlock directories with the user's login
password. To do this it ships a PAM module which reads the user's
password and loads the respective keys into the user's kernel keyring.

Significant inspiration was taken from the ecryptfs implementation.
2022-11-11 15:37:39 +01:00
Maximilian Bosch 35b146ca31
nixos/nextcloud: fixup openssl compat change
Upon testing the change itself I realized that it doesn't build properly
because

* the `pname` of a php extension is `php-<name>`, not `<name>`.
* calling the extension `openssl-legacy` resulted in PHP trying to compile
  `ext/openssl-legacy` which broke since it doesn't exist:

      source root is php-8.1.12
      setting SOURCE_DATE_EPOCH to timestamp 1666719000 of file php-8.1.12/win32/wsyslog.c
      patching sources
      cdToExtensionRootPhase
      /nix/store/48mnkga4kh84xyiqwzx8v7iv090i7z66-stdenv-linux/setup: line 1399: cd: ext/openssl-legacy: No such file or directory

I didn't encounter that one before because I was mostly interested in
having a sane behavior for everyone not using this "feature" and the
documentation around this. My findings about the behavior with turning
openssl1.1 on/off are still valid because I tested this on `master` with
manually replacing `openssl` by `openssl_1_1` in `php-packages.nix`.

To work around the issue I had to slightly modify the extension
build-system for PHP:

* The attribute `extensionName` is now relevant to determine the output
  paths (e.g. `lib/openssl.so`). This is not a behavioral change for
  existing extensions because then `extensionName==name`.

  However when specifying `extName` in `php-packages.nix` this value is
  overridden and it is made sure that the extension called `extName` NOT
  `name` (i.e. `openssl` vs `openssl-legacy`) is built and installed.

  The `name` still has to be kept to keep the legacy openssl available
  as `php.extensions.openssl-legacy`.

Additionally I implemented a small VM test to check the behavior with
server-side encryption:

* For `stateVersion` below 22.11, OpenSSL 1.1 is used (in `basic.nix`
  it's checked that OpenSSL 3 is used). With that the "default"
  behavior of the module is checked.

* It is ensured that the PHP interpreter for Nextcloud's php-fpm
  actually loads the correct openssl extension.

* It is tested that (encrypted) files remain usable when (temporarily)
  installing OpenSSL3 (of course then they're not decryptable, but on a
  rollback that should still be possible).

Finally, a few more documentation changes:

* I also mentioned the issue in `nextcloud.xml` to make sure the issue
  is at least mentioned in the manual section about Nextcloud. Not too
  much detail here, but the relevant option `enableBrokenCiphersForSSE`
  is referenced.

* I fixed a few minor wording issues to also give the full context
  (we're talking about Nextcloud; we're talking about the PHP extension
  **only**; please check if you really need this even though it's
  enabled by default).

  This is because I felt that sometimes it might be hard to understand
  what's going on when e.g. an eval-warning appears without telling where
  exactly it comes from.
2022-11-11 14:45:46 +01:00
Franz Pletz 8cc2dcce7d
Merge pull request #199524 from ymarkus/zfs-exporter
nixos/prometheus-zfs-exporter: init
2022-11-11 02:01:13 +01:00
Anderson Torres d48d7a69aa
Merge pull request #174975 from danth/firefox-module
nixos/firefox: init
2022-11-10 21:31:57 -03:00
Franz Pletz 286f868a5c
Merge pull request #162057 from jdheyburn/jdheyburn-unifi-prometheus-exporter-loki 2022-11-11 01:31:41 +01:00
Franz Pletz 8e9f00682d
nixos/prometheus-zfs-exporter: mdDoc descriptions 2022-11-11 01:29:10 +01:00
Franz Pletz d82f52519a
nixos/libvirtd: always start libvirtd
Previously we did socket-activation but this breaks the autostart
feature since upstream expects libvirtd to be started unconditionally on
boot.

Fixes #171623.
2022-11-11 01:10:37 +01:00
Daniel Thwaites 01b3d0bf25
nixos/firefox: init 2022-11-10 19:07:37 +00:00
amesgen 733ea72e16
nixos/rss2email: remove unnecessary cfg file indirection to fix test (#200108)
Previously, the NixOS test often failed as the copied config file is not
overwriteable. In actual setups, the restart interval is much bigger, such that
systemd-tmpfiles will correct the permissions inbetween.
2022-11-10 20:06:32 +01:00
figsoda e920aed521
Merge pull request #200440 from nagy/treewide-modules
treewide: use `types.port` and `mkEnableOption` in nixos modules
2022-11-10 12:12:51 -05:00
Gauvain 'GovanifY' Roussel-Tarbouriech 5a4a53dbc6 nixos/mautrix-telegram: fix crash on postgresql database usage 2022-11-10 11:17:20 -05:00
Vincent Haupert 847774470e nixos/github-runners: restart service if exit code signals a retryable error
On some occasions, the GitHub runner service encounters errors which are
deemed retryable but result in the runner's termination. To signal a
retryable error, the runner exits with status code 2:

https://github.com/actions/runner/blob/40ed7f8/src/Runner.Common/Constants.cs#L146

To account for that behavior, this commit sets
`RestartForceExitStatus=2` which results in a service restart regardless
of using an ephemeral runner or not.
2022-11-10 11:06:04 -05:00
Janne Heß 798bc67cff
Merge pull request #200319 from helsinki-systems/feat/redis-module-changes
nixos/redis: misc module changes
2022-11-10 16:03:54 +01:00
Eelco Dolstra 0a00b332cd
Merge pull request #198526 from farnoy/nixos-container-unified-cgroups
[nixos-container] Make nixos containers use unified cgroupsv2
2022-11-10 13:37:43 +01:00
Maximilian Bosch 61128cba67
nixos/nextcloud: minor docs cleanup for openssl change
* s/NextCloud/Nextcloud/g
* `enableBrokenCiphersForSSE` should be enabled by default for any NixOS
  installation from before 22.11 to make sure existing installations
  don't run into the issue. Not the other way round.
* Update release notes to reflect on that.
* Improve wording of the warning a bit: explain which option to change
  to get rid of it.
* Ensure that basic tests w/o `enableBrokenCiphersForSSE` run with
  OpenSSL 3.
2022-11-10 12:17:43 +01:00
Raito Bezarius 394d4de877
nextcloud25: enable by default broken ciphers for NixOS ≤ 22.11 2022-11-10 12:17:43 +01:00
Raito Bezarius 7eefaeb5e3
nextcloud25: use openssl 1.1 as a PHP extension to fix RC4 encryption 2022-11-10 12:17:43 +01:00
Daniel Nagy b4674b39c1
treewide: use mkEnableOption in nixos modules 2022-11-10 09:30:00 +01:00
Daniel Nagy 095269c862
treewide: use types.port in nixos modules 2022-11-10 09:30:00 +01:00
Bobby Rong 8380ac4538
nixos/cinnamon: don't override greeter theme if the package is excluded
This makes it possible to remove mint themes in an easy way, in this
case we will just use the default from slick-greeter module, i.e. the
Adwaita theme.
2022-11-10 14:47:06 +08:00
Bobby Rong ba4494f8f6
nixos/cinnamon: make it possible to remove more non-essential packages
Packages for accessibility and theme can now be removed with excludePackages
2022-11-10 14:47:06 +08:00
Bobby Rong bb30779791
nixos/cinnamon: fix some typos 2022-11-10 14:47:00 +08:00
Bobby Rong e88b1dc9c8
nixos/cinnamon: switch to xdg.icons.enable
We enable this option explicitly to prevent users from accidentally
disabling it and getting a broken desktop.
2022-11-10 14:43:25 +08:00
Bobby Rong fa3008b93c
nixos/cinnamon: switch to xdg.mime.enable
We enable this option explicitly to prevent users from accidentally
disabling it and getting a broken desktop.
2022-11-10 14:41:58 +08:00
github-actions[bot] 020ea91183
Merge master into staging-next 2022-11-10 00:02:27 +00:00
Sandro Jäckel 5452a26077
nixos/lvm: replace boot.isContainer with services.lvm.enable 2022-11-09 23:47:37 +01:00
Sandro Jäckel 182575a60d
nixos/kernel: replace boot.isContainer with boot.kernel.enable 2022-11-09 23:45:33 +01:00
Guillaume Girol 255ac994b8 nixos/firefox-syncserver: fix setup failure due to duplicate key
in some circumstances, the setup service would fail with:
ERROR 1062 (23000) at line 5: Duplicate entry '1' for key 'PRIMARY'
so let's use an upsert instead of insert. This also simplifies the
script.

Besides, also fix that when the setup script changes, the corresponding
script is not restarted as it is usually not active, so we trigger a
restart of the main systemd service.
2022-11-09 23:39:08 +01:00
ajs124 bc4e9a890c nixos/redis: store config in state directory
this is needed because certain redis features, like sentinel, require
the config file to be persistent
2022-11-09 21:49:33 +01:00
Bernardo Meurer c9e23626a1
nixos/udisks2: symlink libblockdev configs
Without this, you get the following error message in the logs:

udisksd[4082]: Failed to load config files: Failed to get contents of the config dir (/etc/libblockdev/conf.d/)Error opening directory “/etc/libblockdev/conf.d/”: No such file or directory. Using the built-in config
2022-11-09 18:30:59 +00:00
github-actions[bot] d99020653d
Merge master into staging-next 2022-11-09 18:01:11 +00:00
Bernardo Meurer 6678a7ecb7
nixos/geoclue2: make system service wait on network-online
In ee0b8a7eaa we made the user service wait on network-online, but
forgot about the system service. We need them _both_ to wait when the
wifi source is enabled.
2022-11-09 16:50:18 +00:00
ajs124 168ad716e0 nixos/redis: add extraParams 2022-11-09 16:43:04 +01:00
Anderson Torres 3a73976c74
Merge pull request #200388 from babbaj/remove-ethminer
ethminer: remove
2022-11-09 12:06:28 -03:00
Babbaj 9a7c359a35
ethminer: remove 2022-11-09 09:37:35 -05:00
Jonas Heinrich f7f9442695 nixos/invoiceplane: Enable clean url 2022-11-09 08:17:52 -05:00
Robert Hensing 59f6a93082
Merge pull request #199595 from hercules-ci/nixos-toplevel-maintenance
nixos/top-level: maintenance
2022-11-09 13:54:36 +01:00
Robert Hensing 93a905ec4f
Merge pull request #194759 from hercules-ci/fqdn-or-hostname
nixos: Add `networking.fqdnOrHostName`
2022-11-09 13:53:57 +01:00
Oto Petřík 4729d5d7f6 nixos/proxmox-image: allow building UEFI images
Allow building other than Legacy-BIOS-only Proxmox images.
Default is unchanged.

To build UEFI proxmox image use:
  proxmox.qemuConf.bios = "ovmf";
(default is "seabios")

To build image bootable using both "seabios" and "ovmf" use:
  partitionTableType = "hybrid";
BIOS can be switched in Proxmox between "seabios" and "ovmf" and VM still boots.
(GRUB2-only, systemd-boot does not boot under "seabios")

To build systemd-boot UEFI image:
  proxmox.qemuConf.bios = "ovmf";
  boot.loader.systemd-boot.enable = true;
2022-11-09 03:19:42 +01:00
github-actions[bot] 81316207ec
Merge master into staging-next 2022-11-09 00:02:55 +00:00
Bjørn Forsman 25617e3def nixos/blocky: fix description
Before: "Whether to enable Fast and lightweight [...]"
After: "Whether to enable blocky, a fast and lightweight [...]"
2022-11-08 20:59:06 +01:00
Pascal Bach ea2a9ac9d3
Merge pull request #200222 from Ma27/prometheus-hardening-regression
nixos/prometheus: fix startup w/hardened service
2022-11-08 20:33:47 +01:00
github-actions[bot] 4517d658d3
Merge master into staging-next 2022-11-08 18:01:16 +00:00
Maximilian Bosch 176676c4cf
Merge pull request #192890 from Enzime/fix/nextcloud-space-passwords
nixos/nextcloud: handle passwords with spaces
2022-11-08 18:02:04 +01:00
Maximilian Bosch dcb32beda0
nixos/prometheus: fix startup w/hardened service
See the discussion below the original PR[1] and #197443 for more
context.

I guess I missed that upon review because the branch was too old and I
cherry-picked the commit onto my deployment branch which is based on
22.05. Sorry for that!

[1] https://github.com/NixOS/nixpkgs/pull/162784#issuecomment-1306848036
2022-11-08 17:46:35 +01:00
happysalada 2c5abd89c7 rmem_max: define merge function 2022-11-08 10:30:10 -05:00
Jonas Heinrich fd76db7cb4 nixos/invoiceplane: Add cron option 2022-11-08 09:59:10 -05:00
Sandro Jäckel 677d6f1623
nixos/changedetection-io: hide referer by default 2022-11-08 01:37:46 +01:00
github-actions[bot] 8345eea2ce
Merge master into staging-next 2022-11-08 00:02:57 +00:00
laalsaas 5f07247a07 mepo: init module 2022-11-07 20:27:00 +01:00
David Arnold 2aa5c8d3ab nixos/teamviewer: fix for non-NetworkManager environments 2022-11-07 19:54:25 +01:00
Sandro da6ae81172
Merge pull request #200052 from SuperSandro2000/less-space 2022-11-07 19:50:33 +01:00
github-actions[bot] 938efbfd26
Merge master into staging-next 2022-11-07 18:01:17 +00:00
Manuel Bärenz 891dfb1b63 nixos/mastodon: add option mediaAutoRemove 2022-11-07 18:58:58 +01:00
Sandro eb33bec8b3
nixos/less: fix spacing 2022-11-07 17:51:51 +01:00
Bobby Rong 4e9c9c0b7c
Merge pull request #199154 from uninsane/pr/lightdm-mobile-greeter
lightdm-mobile-greeter: init at 2022-10-30
2022-11-07 22:30:53 +08:00
happysalada 1ef74a7854 lighthouse: module add defaults 2022-11-07 09:15:49 -05:00
Maximilian Bosch 58227c4de0
Merge pull request #162784 from amarshall/prom-svc-harden
nixos/prometheus: Harden systemd service
2022-11-07 15:03:43 +01:00
colin ed9998cf2a nixos/lightdm: add greeters.mobile config option
i based this on the neighboring lightdm-greeters/mini.nix module.

lightdm-mobile-greeter doesn't have a lot of configuration options.
it grabs the default user to login as from lightdm, along with which DE
it should launch. so no further configuration should be needed aside
from enabling `services.xserver.displayManager.lightdm.enable` and
either setting `services.xserver.displayManager.defaultSession` to the
appropriate session or explicitly defining a seat like:

```nix
services.xserver.displayManager.lightdm.extraSeatDefaults = ''
  user-session = phosh
'';
```
2022-11-07 05:48:23 -08:00
happysalada f4ff9c2649 lighthouse: init module 2022-11-07 07:58:17 -05:00
Maximilian Bosch 94046425a0
Merge pull request #199997 from mayflower/wp-create-font-dir
nixos/wordpress: ensure that fonts already exists
2022-11-07 13:25:16 +01:00
github-actions[bot] 19a0988af4
Merge master into staging-next 2022-11-07 12:01:51 +00:00
Bobby Rong 03e68946a0
Merge pull request #186628 from ocfox/pam_faildelay
nixos/pam: add option failDelay
2022-11-07 19:54:57 +08:00
Robert Hensing abd4e9d524
Merge pull request #199572 from SuperSandro2000/nix-daemon-io-prio
nixos/nix-daemon: don't give daemon by default high io priority
2022-11-07 12:26:47 +01:00
Maximilian Bosch 67e61879c5
Merge pull request #199416 from symphorien/wg-add-peer
nixos/wireguard: start new peers when they are added
2022-11-07 12:20:06 +01:00
ocfox ab0ae8f5e1
nixos/pam: add option failDelay
Co-authored-by: Bobby Rong <rjl931189261@126.com>
2022-11-07 19:16:35 +08:00
Majiir Paktu ad83bff008 nixos/binfmt: restart systemd-binfmt when registrations change 2022-11-07 11:28:47 +01:00
Maximilian Bosch b40b8b92e2
nixos/wordpress: ensure that fonts already exists
Not a big deal in most of the cases because wordpress ensures that this
directory exists on its own, but with our twentig customizations that's
actually causing issues.

(cherry picked from commit 3285342bfe5f401dda84c13c834e73154928a61c)
2022-11-07 10:08:01 +01:00
Edward Tjörnhammar 83ecc90d10 nixos/mdevctl: init module 2022-11-07 09:05:23 +00:00
github-actions[bot] e51ba60580
Merge master into staging-next 2022-11-07 00:03:30 +00:00
Atemu 753f883c35 stage-1: escape mount points and options
mountFS adds these strings to fstab and then relies on `mount` parsing fstab. If
they have spaces or tabs in them, that would break fstab and therefore not mount
with the unhelpful error: No such file or directory.

Co-authored-by: Lily Foster <lily@lily.flowers>

Co-authored-by: Luflosi <Luflosi@users.noreply.github.com>
2022-11-06 22:15:31 +01:00
booklearner 59bd411df9
alps: fix default smtp port 2022-11-06 16:00:34 -05:00
Jörg Thalheim 1d442b3b68
Merge pull request #186087 from Mic92/consul
nixos/consul: use signal instead of api for reload
2022-11-06 20:32:19 +01:00
Jakub Okoński 12508ac79a nixos-container: force systemd-nspawn to use unified cgroups hierarchy 2022-11-06 17:12:02 +01:00
github-actions[bot] e8dd554943
Merge master into staging-next 2022-11-06 12:01:29 +00:00
Maximilian Bosch 91d7b27cfb
Merge pull request #189756 from alyssais/mailman-virtualRoot
nixos/mailman: add serve.virtualRoot option
2022-11-06 12:42:48 +01:00
Naïm Favier 7e14da4b2f
Merge pull request #199785 from xeals/influxdb2-timezone 2022-11-06 12:17:28 +01:00
Franz Pletz 7519cb2c7c
Merge pull request #198638 from KFearsoff/fix-node-exporter-netdev-collector
nixos/prometheus-node-exporter: fix netdev collect
2022-11-06 12:05:09 +01:00
Bobby Rong 59727943df
Merge pull request #196877 from luochen1990/fix-synergy-server-tls
synergy: fix services.synergy.server.tls.cert (#196867)
2022-11-06 17:41:02 +08:00
xeals de4601c37e
nixos/influxdb2: set timezone data environment variable
Go reads the timezone database from ZONEINFO instead of TZDIR, which is otherwise
unset.
2022-11-06 11:12:42 +11:00
github-actions[bot] a8cf6897e5
Merge master into staging-next 2022-11-05 18:01:11 +00:00
Maximilian Bosch 19bf0264bb
Merge pull request #199345 from Ma27/bump-nextcloud
nextcloud: 24.0.6 -> 24.0.7, 25.0.0 -> 25.0.1
2022-11-05 17:19:09 +01:00
Bjørn Forsman f23ddc55a6 nixos/sane: mention sane-airscan in the extraBackends option
It's a very useful backend (that probably should be enabled by default,
like on Ubuntu), let's start by making it easier to discover.

Ref https://github.com/NixOS/nixpkgs/issues/28406.
2022-11-05 16:19:04 +01:00
Martin Weinelt 98a7c26e26
Merge pull request #193041 from vlinkz/calamaresmoduleupdate 2022-11-05 15:40:20 +01:00
Martin Weinelt 7bbc6e29b1 nixos/home-assistant: update bluetooth components 2022-11-05 13:30:17 +01:00
github-actions[bot] 3674d6a755
Merge staging-next into staging 2022-11-05 12:02:05 +00:00
happysalada 9c341e1ba3 erigon: init module 2022-11-05 06:36:29 -04:00
Bjørn Forsman 4fbec87a5b nixos/sane: point env vars to /etc for quick reload
Point $SANE_CONFIG_DIR and $LD_LIBRARY_PATH to symlinks in /etc, instead
of directly to nix store paths, so that activating a new configuration
takes effect immediately, instead of requiring users to re-login.
2022-11-05 10:40:51 +01:00
github-actions[bot] 52c99d862c
Merge staging-next into staging 2022-11-05 06:02:05 +00:00
Artturi bed653c5fa
Merge pull request #164169 from martinetd/logrotate_post_cleanup
logrotate: cleanup legacy options
2022-11-05 04:27:33 +02:00
Lin Jian fb445b517e nixos/fish: use a local version of runCommand for babelfishTranslate
Building etc."fish/setEnvironment.fish" needs
config.system.build.setEnvironment, which can be very large. And what
babelfishTranslate does is to translate env vars exported by bash
syntax, which does not need much computing power.

This patch can reduce the network traffic when using remote builders
with almost no harm.
2022-11-04 18:35:18 -07:00
Dominique Martinet 665d896244 logrotate: add services.logrotate.settings example 2022-11-05 10:34:04 +09:00
Dominique Martinet 01ff1dd23f logrotate service: cleanup deprecated options 2022-11-05 10:34:03 +09:00
Robert Hensing 9299483604 nixos/top-level.nix: Move configurationName to grub.nix
The configuration-name file is grub specific, so it should not be
in top-level.nix.
2022-11-05 00:25:46 +01:00
Robert Hensing 37fa46a224 nixos/top-level.nix: Remove workaround for #156533 2022-11-05 00:25:46 +01:00
Robert Hensing 0b05ed2c78 nixos/specialisation.nix: Extract module 2022-11-05 00:25:46 +01:00
Robert Hensing d3ac0938a7 nixos/top-level.nix: Make extensible
(cherry picked from commit 4ec415cff9)
2022-11-05 00:05:26 +01:00
Sandro 8017d9e2da
nixos/nix-daemon: don't give daemon by default high io priority
According to https://www.freedesktop.org/software/systemd/man/systemd.exec.html#IOSchedulingClass= the default is 4
2022-11-04 22:07:05 +01:00
Guillaume Girol c5df8359df nixos/wireguard: start new peers when they are added
when a new peer is added, it does not modify any active units, because
the interface unit remains the same. therefore the new peer is not added
until next reboot or manual action.
2022-11-04 15:35:21 +01:00
Yannick Markus 50f308b059 nixos/prometheus-zfs-exporter: init 2022-11-04 14:43:01 +01:00
github-actions[bot] 194df35602
Merge staging-next into staging 2022-11-04 06:02:00 +00:00
Anderson Torres 97f523e3c8
Merge pull request #185688 from bb2020/usbstor
nixos/usbStorage: add new option
2022-11-03 22:33:20 -03:00
github-actions[bot] 08b08d0caf
Merge staging-next into staging 2022-11-04 00:03:34 +00:00
ajs124 42ec4ec905
Merge pull request #198303 from cleeyv/jitsi-update
Update of all Jitsi Meet components
2022-11-03 22:57:04 +01:00
kekrby f938099de1 nixos/modules/config/gtk/gtk-icon-cache: do not generate icon caches for files in $out/share/icons
Icon caches should be generated for directories under $out/share/icons, as the comments mention, but it is done for files as well which does not make the build fail but results in files under $out/share/icons being turned into empty directories, see /run/current-system/sw/share/icons/gnome-logo-text.svg as an example.
2022-11-03 18:45:29 +03:00
Maximilian Bosch ad21c759d4
nixos/nextcloud: fix upgrade warning 2022-11-03 14:32:21 +01:00
talyz d65910761c
nixos/keycloak: Escape database password properly 2022-11-03 14:15:53 +01:00
Guillaume Girol 5d07c39b14 nixos/power-management: fix deadlock with post-resume.{target,service}
Fixes a deadlock where post-resume.target has After=post-resume.service
and post-resume.service runs systemctl try-restart post-resume.target
the systemctl call cannot complete if post-resume.target was already
queued at that time.
2022-11-03 12:00:00 +00:00
github-actions[bot] 3e5d1d0000
Merge staging-next into staging 2022-11-02 18:02:19 +00:00
Victor Fuentes f4e541427e
calamares-cd: default supporting all locales 2022-11-02 13:59:53 -04:00