Commit Graph

37862 Commits

Author SHA1 Message Date
Jade Lovelace
e456032add nixos/flake: put nixpkgs in NIX_PATH and system registry for flake configs
Currently there are a bunch of really wacky hacks required to get nixpkgs
path correctly set up under flake configs such that `nix run
nixpkgs#hello` and `nix run -f '<nixpkgs>' hello` hit the nixpkgs that
the system was built with. In particular you have to use specialArgs or
an anonymous module, and everyone has to include this hack in their
own configs.

We can do this for users automatically.

I have tested these manually with a basic config; I don't know if it is
even possible to write a nixos test for it since you can't really get a
string-with-context to yourself unless you are in a flake context.
2024-02-03 20:44:38 -08:00
Maximilian Bosch
cfd8c0ddd8
Merge pull request #275633 from chreekat/b/sshd-config-check
sshd: Use top-level ports in config check when needed
2024-01-03 16:25:08 +01:00
Jonas Heinrich
818fdce3d0 nixos/nextcloud: Fix corrent option name 2024-01-03 14:08:21 +01:00
Will Fancher
05706b850a
Merge pull request #273695 from lopsided98/initrd-systemd-lib-firmware
systemd-stage-1: allow non-existent /lib/firmware
2024-01-03 04:30:27 -05:00
Will Fancher
65f0d24178
Merge pull request #278147 from SuperSandro2000/oomd-followup
nixos/oomd: use mkRenamedOptionModule like mentioned in the changelog, add missing section to use slice
2024-01-03 01:09:47 -05:00
Nick Cao
1c7eb2fd8f
Merge pull request #277819 from majewsky/portunus-2.1.1
portunus: 2.0.0 -> 2.1.1
2024-01-02 20:59:21 -05:00
Sandro Jäckel
27468aae96
nixos/oomd: add missing section to use slice 2024-01-03 02:45:38 +01:00
Weijia Wang
3526f2ffec
Merge pull request #274192 from foo-dogsquared/nixos-guix-add-guix-home-support
nixos/guix: add Guix home support
2024-01-03 01:28:11 +01:00
Mario Rodas
7f0a64976d
Merge pull request #270286 from ajs124/ruby_ossl11_cleanup
ruby_2_7: remove
2024-01-02 18:37:18 -05:00
Nick Cao
f6a028db30
Merge pull request #276808 from SuperSandro2000/portunus-cookie-secure
nixos/portunus: make sure the cookies are only send over https if it …
2024-01-02 16:54:37 -05:00
ajs124
02ad3159b0 ruby_2_7: remove 2024-01-02 15:30:06 +01:00
Bryan Richter
e797aaea0b
sshd: Use top-level ports in config check when needed
Previously, if a listenAddress was specified without a `port`, the check
would fail.
2024-01-02 12:51:39 +02:00
Patrick Steinhardt
f026ea0db0 nixos/nextcloud: disable output buffering
The Nextcloud admin guide says that output buffering must be turned off
or otherwise PHP will return memory-related errors [1]. As the default
value for this PHP setting is 4096 and thus enabled the Nextcloud setup
is thus misconfigured by default. This misconfiguration will be shown in
the "Security & setup warnings" dialog for the administrator.

Fix this misconfiguration by setting "output_buffering=0" by default.

[1]: https://docs.nextcloud.com/server/stable/admin_manual/configuration_files/big_file_upload_configuration.html#configuring-php
2024-01-02 08:45:42 +01:00
Sandro Jäckel
0a1d1907a5
nixos/oomd: use mkRenamedOptionModule like mentioned in the changelog 2024-01-01 22:33:00 +01:00
Nick Cao
66ea36d4d3
Merge pull request #276159 from AtaraxiaSjel/fix/tor-obfs4proxy
nixos/tor: fix transport plugin exe name
2024-01-01 15:55:04 -05:00
Nick Cao
3d6243a6a9
Merge pull request #276430 from hellodword/patch-1
nixos/tailscale: fix after and wants
2024-01-01 15:52:50 -05:00
Guillaume Girol
38034a860a
Merge pull request #273286 from nh2/sane-backends-package-option
Add hardware.sane.backends-package option.
2024-01-01 21:43:35 +01:00
Maciej Krüger
8f3c9dec12
Merge pull request #278090 from mkg20001/fix-auditd
nixos/auditd: fix typo
2024-01-01 18:35:17 +01:00
Maciej Krüger
4f9e98905e
nixos/auditd: fix typo
Would otherwise fail with

```
       error: A definition for option `systemd.services.auditd.conflicts."[definition 1-entry 1]"' is not of type `string matching the pattern [a-zA-Z0-9@%:_.\-]+[.](service|socket|device|mount|automount|swap|target|path|timer|scope|slice)'. Definition values:
       - In `/nix/store/x2khl2yx0vz2i357x7mz5xm1kagql8ag-source/nixos/modules/security/auditd.nix': "shutdown.target "
```
2024-01-01 17:28:46 +01:00
Ryan Lahfa
10af81720a
Merge pull request #277936 from Izorkin/update-nginx-ktls
nginx: enable ktls support by default
2024-01-01 17:19:11 +01:00
markuskowa
009b625a54
Merge pull request #277792 from ck3d/vdr-updates-2023-12
vdr: updates 2023/12
2024-01-01 16:58:11 +01:00
Izorkin
10c06cb060
nginx: enable ktls support by default 2024-01-01 12:02:57 +03:00
Robert Hensing
f4525eefb3
Merge pull request #277949 from pennae/lazy-options-arg-list
nixos/doc: avoid bash argument list size limit
2023-12-31 22:04:01 +01:00
Ryan Lahfa
e44341e335
Merge pull request #195805 from Luflosi/grub-use-correct-zfs-version
nixos/grub: use the correct ZFS version
2023-12-31 21:33:37 +01:00
Ryan Lahfa
5ab6191ee5
Merge pull request #276260 from Izorkin/update-nginx-acme-locations
nixos/nginx: change position acmeLocation in nginx configuration
2023-12-31 21:23:17 +01:00
Janik
6be9d4fc21
Merge pull request #266283 from Noodlesalat/ping-exporter-1.1.0
ping_exporter: init at 1.1.0
2023-12-31 20:50:30 +01:00
pennae
4374f2feda nixos/doc: avoid bash argument list size limit
see #277861. as the module list grows the argument size in the
lazy-options nix call grows, eventually reaching a hard limit and
causing the build to fail. writing the list to a file instead and import
it instead of providing it directly circumvents this.
2023-12-31 18:08:46 +01:00
Nick Cao
df2e067678
Merge pull request #277625 from maxbrunet/feat/uber-go-mockgen
mockgen: change upstream to uber-go fork
2023-12-31 10:40:06 -05:00
Guillaume Girol
a5cbc50912
Merge pull request #276385 from majiru/drawterm-tests
drawterm: unstable-2023-09-03 -> unstable-2023-12-23 & nixos tests
2023-12-31 15:41:26 +01:00
Guillaume Girol
17fc67eb2e
Merge pull request #255464 from georgyo/postfix-dont-use-file-ownership
nixos/postfix: postalias should not use source file permissions
2023-12-31 15:20:48 +01:00
Maciej Krüger
2d9d11dee6
Merge pull request #251782 from vifino/thermald_ignore-cpuid-check
thermald: allow ignoring cpuid check
2023-12-31 11:30:50 +01:00
Maciej Krüger
b8a8c2cf15
Merge pull request #266332 from nbraud/nixos/tests/ssh-agent-auth
Add NixOS test for `security.pam.enableSSHAgentAuth`
2023-12-31 10:38:36 +01:00
Stefan Majewsky
3c05138a5c portunus: 2.0.0 -> 2.1.1
Changelog: <https://github.com/majewsky/portunus/releases/tag/v2.1.0>

v2.1.1 only fixes a regression that v2.1.0 introduced.
2023-12-31 01:52:01 +01:00
Ilan Joselevich
210ab761b4
Merge pull request #276294 from phaer/cachix-signing-key
cachix-watch-store: allow to set a signing key
2023-12-31 00:20:52 +02:00
Christian Kögler
1c326dcb4f nixos/vdr: wait for network 2023-12-30 21:58:24 +01:00
Izorkin
ae5c0c1521
nixos/nginx: skip adding a comment to acmeLocation in nginx configuration 2023-12-30 23:50:02 +03:00
Izorkin
7f1b6d45af
nixos/nginx: change position acmeLocation in nginx configuration 2023-12-30 23:49:58 +03:00
Maxime Brunet
92c3800caf
mockgen: change upstream to uber-go fork 2023-12-30 12:27:42 -08:00
Nick Cao
fb6f005181
Merge pull request #272552 from SuperSandro2000/ghostscript-nox
nixos/no-x-libs: add ghostscript
2023-12-30 13:23:42 -05:00
Philip Taron
da90576aac
nixos/lxd-agent: fix evaluation regression caused by nixos/nixpkgs#271326 2023-12-30 08:45:30 -08:00
Lin Jian
55c1318537
Merge pull request #276180 from linj-fork/pr/kanata-list
nixos/kanata: specify linux-dev as a list
2023-12-29 20:24:56 -06:00
zowoq
41e3e7ef30 buildbot: 3.10.0 -> 3.10.1
Changelog: https://github.com/buildbot/buildbot/releases/tag/v3.10.1
2023-12-30 11:25:04 +10:00
Nick Cao
4a8d35315a
Merge pull request #276407 from sinanmohd/dendrite-sliding-sync
nixos/matrix-sliding-sync: rename, init dendrite
2023-12-29 20:24:47 -05:00
Will Fancher
9cab49c71b
Merge pull request #273921 from SaltyKitkat/oomd
nixos/systemd: update oomd configuration
2023-12-29 18:47:49 -05:00
markuskowa
15b39c2238
Merge pull request #275080 from SomeoneSerge/feat/munge-systemd
nixos/munge: update the systemd service
2023-12-30 00:11:12 +01:00
Maximilian Bosch
d25fdec5b3
Merge pull request #212430 from onny/nextcloud-cleanup
nixos/nextcloud: Move options into now freeForm extraOptions
2023-12-29 23:44:24 +01:00
Maximilian Bosch
a1f20ed672
Merge pull request #277382 from Ma27/fix-nextcloud-app-routing
nixos/nextcloud: fix nginx routing to store and nix apps
2023-12-29 23:44:12 +01:00
Jonas Heinrich
b06d3c3aa6
Merge pull request #277442 from onny/ollama
nixos/ollama: init
2023-12-29 23:00:10 +01:00
Dmitriy Kholkin
0929716b02
nixos/tor: fix transport plugin exe name 2023-12-29 23:20:15 +03:00
Nick Cao
08a62091a1
Merge pull request #277146 from majewsky/portunus-2.0.0
portunus: 1.1.0 -> 2.0.0
2023-12-29 14:53:12 -05:00