0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-19 08:31:01 +03:00
Commit graph

52122 commits

Author SHA1 Message Date
Majiir Paktu
e2e240b5f1 nixos/rust-motd: use existing PAM options to configure pam_motd 2025-06-28 19:28:42 -04:00
Martin Weinelt
d0218043a9
nixos/tests/postfix-tlspol: assert empty policies for localhost 2025-06-29 00:14:22 +02:00
Martin Weinelt
7874cc6005
nixos/postfix-tlspol: fix config reload
Since we only pass a symlink to ExecStart we need to pass the backing
file as a reload trigger.
2025-06-28 23:44:37 +02:00
Martin Weinelt
df0eb78b31
nixos/postfix-tlspol: migrate to static user/group
This fixes postfix' membership in the postfix-tlspol group, since
memberships in a dynamically allocated group don't seem to work out.

Additionally this fixes a typo in the systemd hardening and the test now
prints the results of systemd-analyze security.
2025-06-28 23:40:19 +02:00
Martin Weinelt
16ce859442
nixos/postfix-tlspol: fix postfix group membership (#418568) 2025-06-28 23:05:38 +02:00
Sandro
3f7ea147a0
nixos/gitea: drop mailerUseSendmail option and use PROTOCOL as an indication instead (#384582) 2025-06-28 20:31:26 +02:00
Sandro Jäckel
0886377f64
nixos/gitea: drop mailerUseSendmail option and use PROTOCOL as an indication instead
This option does not configure sendmail itself because it is impossible
as sendmail is an alias for many things and could mean msmtp or postfix
or exim or something else.

Instead we rely on the PROTOCOL setting as initially proposed #384582
and based on that open up the sandboxing settings because if the user
configures sendmail, they want it to work and not have to configure yet
another things.

Also makes postfix specific things conditional on postfix being enabled
as msmtp does not need them.

Also we can set SENDMAIL_PATH unconditionally as every wrapper I am
aware of uses that path.
2025-06-28 18:58:57 +02:00
Bas Nijholt
06acce89f1
nixos/wyoming-faster-whisper: fix typo in assertion
Fixes typo in assertion: `initialPromt` -> `initialPrompt`

This typo causes the module to fail with:

```
error: A definition for option `assertions' is not of type `list of unspecified value'. Definition values:
- In `/nix/store/.../nixos/modules/services/home-automation/wyoming/faster-whisper.nix': <function>
```

The typo was introduced in the v2.5.0 update.​​​​​​​​​​​​​​​​
2025-06-28 09:55:58 -07:00
Sandro
48f5657fb9
nixos/chrony: fix defaultText rendering of enableMemoryLocking option 2025-06-28 18:22:12 +02:00
L-Trump
725a756dbb nixos/easytier: init module 2025-06-28 23:22:51 +08:00
Adam C. Stephens
b0dc55b783
garage: remove 0.8, mark 0.9 eol, rename 1.0 (#419392) 2025-06-28 10:18:34 -04:00
Bogdan-Cristian Tătăroiu
3332613add nixos/systemd-initrd: Fix fsck.xfs failing due to missing sh
When running with a xfs root partition and using systemd for stage 1
initrd, I noticed in journalctl that fsck.xfs always failed to execute.

The issue is that it is trying to use the below sh interpreter:

`#!/nix/store/xy4jjgw87sbgwylm5kn047d9gkbhsr9x-bash-5.2p37/bin/sh -f`

but the file does not exist in the initrd image.

/nix/store/xy4jjgw87sbgwylm5kn047d9gkbhsr9x-bash-5.2p37/bin/**bash**
exists since it gets pulled in by some package, but the rest of the
directory is not being pulled in.

boot/systemd/initrd.nix mentions that xfs_progs references the sh
interpreter and seems to explicitly try to address this by adding
${pkgs.bash}/bin to storePaths, but that's the wrong bash package.

Update the `storePaths` value to pull in `pkgs.bashNonInteractive`
rather than `pkgs.bash`.
2025-06-28 14:50:51 +01:00
Defelo
c11e60c8ea
anubis: 1.19.1 -> 1.20.0
Changelog: https://github.com/TecharoHQ/anubis/releases/tag/v1.20.0
Diff: https://github.com/TecharoHQ/anubis/compare/v1.19.1...v1.20.0
2025-06-28 15:28:04 +02:00
Marie Ramlow
cdc95fd814 nixos/doc/rl-2511: document renovate major upgrade 2025-06-28 10:29:36 +02:00
Cole Mickens
3508c26a60
modules/sway: maintainers: drop colemickens 2025-06-27 21:01:34 -07:00
phaer
b8e5d76027 repart-image: do not run fixupPhase...
These derivation output one or more disk image files and metadata in
JSON, none of which seem to be good targets for patchelf, stripping
or other things that typically happen in fixupPhase.

I noticed that specifically shebang patching took a long time when
building bigger images, roughly doubling build times at times.

This might be due to a traversal of an entire disk images, dozens of
gigabytes in size while looking for interpreters.

All tests in

    nix-build -A nixosTests.systemd-repart

passed, but no further testing was done yet.
2025-06-27 19:56:09 +02:00
Maximilian Bosch
a064abed61
Merge: nixos/postgresql: move postStart into separate unit (#403645) 2025-06-27 18:09:54 +02:00
Rémi NICOLE
17f82c3cd7
nixos/netbox: don't force use of sudo in netbox-manage (#419237) 2025-06-27 13:10:55 +00:00
Sandro Jäckel
d54b080730
nixos/gitea: align maintainers with package 2025-06-27 13:54:09 +02:00
polyfloyd
24df1ab44a neovim: Make it possible to configure using Lua 2025-06-26 23:29:57 +02:00
Pol Dellaiera
b5acd6e545
nixos/netbird: robustness improvements (#420183) 2025-06-26 19:07:24 +02:00
eljamm
0c50bbe465 nixosTests.pixelfed.standard: handleTestOn -> runTestOn 2025-06-26 18:54:50 +02:00
K900
da21cd73af
livekit-ingress: init (#409757) 2025-06-26 19:09:06 +03:00
ryunix
9feba7c2ff nixos/nixos-generate-config: remove extra indentation in flake output 2025-06-27 00:36:25 +09:00
Maximilian Bosch
8145f948b1
Merge: linuxPackages_ham: fold into standard kernels (#419546) 2025-06-26 17:19:51 +02:00
Aleksana
a7173ea04f
treewide: remove maintainers with deleted GitHub accounts (#418024) 2025-06-26 22:27:09 +08:00
Michael Daniels
f8776aff47
treewide: remove maintainers with deleted GitHub accounts
Each of these maintainers came up in maintainers/scripts/check-maintainer-usernames.

I have manually verified that each of their IDs and usernames 404 when using the API calls
https://api.github.com/user/$ID, https://api.github.com/users/$USERNAME,
and https://api.github.com/users/$USERNAME/starred.
2025-06-26 10:02:59 -04:00
Krzysztof Nazarewski
17c0c3293d
nixos/netbird: add iptables/nftables for debug bundle handling 2025-06-26 14:13:05 +02:00
Krzysztof Nazarewski
70e91e0956
nixos/netbird: openFirewall for remote DNS resolver 2025-06-26 14:13:05 +02:00
Maximilian Bosch
cbe24b9c17
Merge: nixos/nextcloud: sync nginx config with upstream (#420017) 2025-06-26 13:15:09 +02:00
Krzysztof Nazarewski
fdc7bb0f4f
tests/netbird: make the client test more robust 2025-06-26 13:09:23 +02:00
teutat3s
0c7a8d5255
nixos/nextcloud: sync nginx config with upstream
Upstream changes were checked by checking out the stable31 branch of the
https://github.com/nextcloud/documentation and comparing:

git diff c1c9b0a072537544769fdd6062989a631d4fb17c admin_manual/installation/nginx-root.conf.sample

Notably, this adds the text/javascript and application/wasm mime types to the list of
gzip'ed mime types, which improves nextcloud loading in our testing.

Also adds webp support.
2025-06-25 20:36:45 +02:00
Martin Weinelt
b2bc7903f2
firefox-esr-140-unwrapped: init at 140.0esr
Together with the wrapper and the nixos test.
2025-06-25 19:28:46 +02:00
nikstur
cb51d8f4d6
nixos/repart-image: don't pass seed when it's null, update documentation (#419339) 2025-06-25 13:52:28 +02:00
Will Fancher
b1fb0503ec
bcachefs-unlock: respect x-systemd mount options (#419473) 2025-06-25 06:08:32 -04:00
Leona Maroni
a467ed2611
netbox_4_3: init at 4.3.2 (#414367) 2025-06-25 11:17:09 +02:00
Pol Dellaiera
25495bcd29
winbox: add UDP port range to firewall option (#419696) 2025-06-25 10:54:00 +02:00
Charlotte
814bbef95e
bcachefs-unlock: Also handle mount paths
Co-authored-by: Will Fancher <elvishjerricco@gmail.com>
2025-06-25 09:37:33 +01:00
Jeevan Shikaram
b10dabd009 nixos/prometheus-wireguard-exporter: Add a new option to export wireguard_latest_handshake_delay_seconds. 2025-06-25 18:13:45 +10:00
Charlotte 🦝 Deleńkec
ca0c35d813 bcachefs-unlock: respect x-systemd mount options
This will allow unlocking to take place *after* all of the devices have
been probed, as indicated by the x-systemd.wants and x-systemd.requires
options. This allows for multi-device bcachefs volumes to be reliably
unlocked.
2025-06-25 09:01:43 +01:00
Martin Weinelt
0afcbf81f8
wyoming-faster-whisper: 2.4.0 -> 2.5.0 (#417413) 2025-06-25 05:18:48 +02:00
Martin Weinelt
f495eb597f
nixos/wyoming/faster-whisper: update for 2.5.0
Also some light cleanups and subsequent reindent.
2025-06-25 05:07:39 +02:00
Martin Weinelt
797f061205
nixos/wyoming/piper: enable streaming audio
With wyoming-piper 1.6.0 we can enable streaming audio on sentence
boundaries, which should improve the responsiveness.
2025-06-25 03:37:12 +02:00
Jörg Thalheim
0012977404
nixVersions.nix: 2.28.3 -> 2.28.4, 2.29.0 -> 2.29.1, 2.24.14 -> 2.24.15 (#419603) 2025-06-25 01:12:53 +02:00
Armin Mahdilou
f1dc4ca736 winbox: add UDP port range
Wine needs to listen to UDP ports 40k to 50k. Winbox can
use these ports to discover and connect.

Signed-off-by: Armin Mahdilou <Armin.Mahdilou@gmail.com>
2025-06-24 23:29:31 +02:00
Florian Klink
6a0b49aec2
nixos/sysctl: sane inotify defaults globally (#417511) 2025-06-25 00:19:23 +03:00
Florian Klink
32f7b63557
nixos/systemd-oomd: use the correct name for the top-level user slice (#418480) 2025-06-25 00:06:50 +03:00
Arnout Engelen
cab186d016
nixos/galene: allow using self-signed certificates (#417508) 2025-06-24 20:47:40 +02:00
Jörg Thalheim
28e4681066 nixVersions.nix: 2.28.3 -> 2.28.4 2025-06-24 18:25:41 +02:00
Fernando Rodrigues
4a0180f434
nixos/xen: dehardcode the .pad section from the UKI builder
Upstream, intentionally or not, no longer appends the EFI image
with a .pad section for us to hook the rest of the UKI to. This
simply dehardcodes .pad from the awk script, instead using the
very last section in the binary. (Currently .reloc)

Co-authored-by: Yaroslav Bolyukin <iam@lach.pw>
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2025-06-24 11:11:39 -03:00