0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-20 00:50:38 +03:00
Commit graph

38790 commits

Author SHA1 Message Date
Sandro Jäckel
e9efb4240e
nixos/nix-{gc,optimise}: do not start when switching
Co-authored-by: Sizhe Zhao <prc.zhao@outlook.com>
2025-06-30 18:13:01 +02:00
Franz Pletz
048245e16d
nixos/ntpd-rs: Validate the ntpd-rs.toml file (#406331) 2025-06-30 16:23:45 +02:00
Wolfgang Walther
9c7bbf0a96
various: drop colemickens as maintainer (#420686) 2025-06-30 13:59:17 +00:00
Jonathan Davies
185eba3148
nixos/ntpd-rs: Validate the ntpd-rs.toml file 2025-06-30 15:24:05 +02:00
Florian Klink
d50f788f4d
nixos/systemd-initrd: Fix fsck.xfs failing due to missing sh (#420745) 2025-06-30 16:00:10 +03:00
Martin Weinelt
312015eaaf
networkmanager-strongswan: rename from networkmanager_strongswan
This is to follow the same structure as all other nm plugins.
2025-06-30 14:45:37 +02:00
Jenny
9bb3e93ca4
nixos/librenms: fix link (#421053) 2025-06-30 14:35:59 +02:00
Sandro
4906a1a36d
nixos/govee2mqtt: start after network-online top hopefully have DNS (#415323) 2025-06-30 14:33:42 +02:00
Sandro Jäckel
41c3c329c8
nixos/gitea: loosen SENDMAIL_PATH type 2025-06-30 14:24:25 +02:00
Niklas Korz
14c234a296
duplicati: 2.1.0.2 -> 2.1.0.5 (#412906) 2025-06-30 12:36:05 +02:00
emilylange
d2a7d40650 nixos/sourcehut,sourcehut.*,nixosTests.sourcehut: drop
Sourcehut went a year with no update in nixpkgs, the packages did not
build for months, the module has issues at runtime, one of the
maintainers stopped using NixOS entirely and the other two don't respond
to issues.

Upstream has since also deprecated the Arch Linux and Debian
repositories to install Sourcehut. The only official way that remains is
Alpine Linux on x86_64-linux.
2025-06-30 12:29:16 +02:00
Franz Pletz
629135df7f
nixos/prometheus.alertmanagerIrcRelay: fix network-online.target ordering but not depending warning (#358851) 2025-06-30 12:26:16 +02:00
Franz Pletz
e8c0884917
nixos/prometheus-wireguard-exporter: Add a new option to export wireguard_latest_handshake_delay_seconds. (#419815) 2025-06-30 12:25:18 +02:00
Mateusz Galazyn
0fc73e5101
nixos/duplicati: add parameters-file option
Co-Authored-By: Jack Michaud <jack@lomz.me>
2025-06-30 12:12:27 +02:00
Martin Weinelt
1ef7d63228
nixos/installer: ship the minimal ISO with networkmanager
With networkmanager we can provide a much more welcoming network setup
experience in the installer and it costs us less than 10 MB with this
configuration on the minimal ISO.

By default, for new profiles it will enable DHCP and RA and allow
interactive reconfiguration through `nmtui` or `nmcli`. Especially the
TUI interface is very easy to pick up and removes the need for typing in
manual commands when setting up the WLAN connection.
2025-06-30 10:37:11 +02:00
Martin Weinelt
ccdca43d80
nixos/networkmanager: drop default plugin list and toggle
It is unclear where this list originated, but it doesn't make sense to
ship it with all networkmanager installations. The most excessive plugin
is openconnect, that ships a 250 MB closure including webkitgtk.

Instead users now have to specify the plugins they want explicitly. I
updated the option to give hints on how to find them as best as I can.
2025-06-30 08:40:05 +02:00
Jörg Thalheim
34b498526c
nixos/easytier: init module (#398170) 2025-06-30 08:13:27 +02:00
Martin Weinelt
6e1cd10adb
nixos/networkmanager: clean up plugin handling
There is no point in having a special option to enable strongswan, when
we can just parse the intent from the plugin list instead.

Also pick up relevant runtime dependency information from the plugin
package instead of providing additional options or hardcoding them.
2025-06-29 22:53:27 +02:00
Martin Weinelt
ab2ec92d5b
nixos/wyoming/faster-whisper: fix eval (#421107) 2025-06-29 22:51:14 +02:00
Sandro
6dcce44311
prometheus-mailman3-exporter: init at 0.9.1 (#398164) 2025-06-29 22:30:36 +02:00
Martin Weinelt
59f235c79d
nixos/wyoming/faster-whisper: fix eval
Various issues were introduced in the latest update that required module
changes. This can be attributed to an apparent lack of attention for
which I apologize.
2025-06-29 22:19:45 +02:00
Martin Weinelt
b05541933d
nixos/installer: enable networkmanager by default
This is the easiest pick for new users to get their footing on NixOS.

NetworKManager allows managing a wide variety of different network
interface types interactively and with ease. It replaces `useDHCP` since
its default profiles for Ethernet and WLAN come with DHCP enabled by
default.
2025-06-29 19:55:44 +02:00
Sandro
e3180b7675
nixos/librenms: fix link 2025-06-29 18:41:21 +02:00
Wolfgang Walther
ff0515b50b
nixos/chrony: fix defaultText rendering of enableMemoryLocking option (#420789) 2025-06-29 15:40:25 +00:00
diniamo
ca7d60b6e3 nixos/fish: follow symlinks in completion generation
Wrapping programs is commonly done using `symlinkJoin`, which symlinks the man pages to the derivation that is actually installed. `-type f` by itself simply ignores such symlinks.
2025-06-29 10:46:03 +02:00
Majiir Paktu
e2e240b5f1 nixos/rust-motd: use existing PAM options to configure pam_motd 2025-06-28 19:28:42 -04: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
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
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
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
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
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