Commit Graph

1167 Commits

Author SHA1 Message Date
Doron Behar
abd697c830 nixos/jfs: use lib.getBin 2026-01-26 11:48:58 +02:00
Doron Behar
879306c36f cifs-utils: split bin, dev & man outputs (#482338) 2026-01-26 09:44:51 +00:00
nixpkgs-ci[bot]
b74649e38b Merge master into staging-nixos 2026-01-23 00:20:45 +00:00
Dyego Aurélio
28096cc5e3 treewide: apply nixfmt 1.2.0 2026-01-22 18:37:56 -03:00
Doron Behar
377c92a9ac cifs-utils: split bin, dev & man outputs 2026-01-22 13:30:01 +02:00
nixpkgs-ci[bot]
8cd124169f Merge master into staging-nixos 2026-01-20 00:19:53 +00:00
nixpkgs-ci[bot]
c95fc42eb1 Merge master into staging-next 2026-01-20 00:18:19 +00:00
Adam C. Stephens
c91db26175 nixos/zfs: fix missing zed-functions.sh 2026-01-19 15:39:50 -05:00
Michele Guerini Rocco
8d3ad239e7 nixos/networking-interfaces: stop installing wireless packages (#479623) 2026-01-18 08:41:49 +00:00
Michael Daniels
d4d05c6e1b Merge branch 'master' into staging-next 2026-01-15 22:02:49 -05:00
Michele Guerini Rocco
3b68917c9f nixos/network-interfaces: allow setting virtualOwner to null (#479944) 2026-01-15 22:07:44 +00:00
Lin Jian
17256403d0 nixos/network-interfaces: allow setting virtualOwner to null
null will not set owner, allowing any user to access the virtual
device.  Previously, this behavior can be achieved by using
systemd.network.netdevs.* options direcly and leaving
systemd.network.netdevs.<name>.tapConfig.User unset.  With this patch,
this behavior can be achieved using the generic
networking.interfaces.* options by setting
networking.interfaces.<name>.virtualOwner to null.

If needed, we can change the default value from "root" to null in the
future to be consistent with systemd-networkd's default behavior.
2026-01-15 20:55:30 +08:00
nixpkgs-ci[bot]
d93c437c6a Merge master into staging-next 2026-01-14 18:06:09 +00:00
Sigmanificient
a939c13d89 ecryptfs: drop 2026-01-14 09:33:38 +01:00
rnhmjoj
ad69c9b28c nixos/networking-interfaces: stop installing wireless packages
iw and wirelesstools (iwconfig, iwlist, etc.) are not required by
networking.wireless and rarely used manually, so they should not be
installed by default.
2026-01-13 15:03:31 +01:00
nixpkgs-ci[bot]
ee52662516 Merge staging-next into staging 2026-01-10 00:19:00 +00:00
Adam C. Stephens
366382c16e nixos/zfs: update /etc/zfs/zed.d symlinks (#474860) 2026-01-09 19:58:16 +00:00
nixpkgs-ci[bot]
02cebb4644 Merge staging-next into staging 2026-01-06 18:07:38 +00:00
7c6f434c
1d391fefda nixos.lvm: fix the check that the extra-tools work (#476037) 2026-01-06 15:20:39 +00:00
Philip Taron
db1801609d Drop more reiserfs (#461260) 2026-01-05 21:08:05 +00:00
Sandro
c3576c34a7 nixos/xfs: fix xfs_scrub and include service (#469878) 2026-01-04 01:18:37 +00:00
Sandro Jäckel
a212ef4e2a nixos/filesystems: drop reiserfs 2026-01-03 04:37:47 +01:00
Sandro Jäckel
9fb5374acb nixos/tasks/reiserfs: drop 2026-01-03 04:37:46 +01:00
K900
f62bcc9d82 Revert "nixos/autoUpgrade: introduce reboot triggers to customise the auto-reboot behaviour"
This reverts commit f10d0e14ee.

Break eval of systems without initrd/kernel, needs more work.
2026-01-02 21:18:44 +03:00
K900
f1cc65ea73 Revert "nixos/auto-upgrade: fix for systems without initrd/kernel" 2026-01-02 21:17:30 +03:00
K900
55ae32b361 nixos/auto-upgrade: fix for systems without initrd/kernel
e.g. containers
2026-01-02 21:01:32 +03:00
7c6f434c
4c555645ae nixos.lvm: fix the check that the extra-tools work 2026-01-01 22:16:38 +01:00
Sandro Jäckel
4692f4dfae nixos/network-interfaces: drop unused variable 2025-12-31 17:35:20 +01:00
Adam C. Stephens
e7fcac9576 nixos/zfs: update /etc/zfs/zed.d symlinks
2.4 renamed some of these, and we were missing a couple in 2.3 as well.
2025-12-28 13:42:02 -05:00
r-vdp
f10d0e14ee nixos/autoUpgrade: introduce reboot triggers to customise the auto-reboot behaviour
Before this, the derivations that trigger an auto-reboot were hard-codede.
This commit makes them configurable.
2025-12-25 12:02:34 +02:00
okt
cbd09c66a5 nixos/btrfs: use algorithm names instead of kernel module names
The canonical names of kernel crypto modules are not stable across
versions. Use the algorithm names from btrfs softdeps instead, which
the kernel will resolve to the appropriate modules.
Previously: xxhash_generic, blake2b_generic, sha256_generic
Now: xxhash64, blake2b-256, sha256
This fixes initrd builds on kernel 6.19+ where blake2b_generic was
renamed to blake2b, and is more resilient to future module renames.
See: https://github.com/torvalds/linux/blob/v6.19-rc1/fs/btrfs/super.c#L2705-L2708
2025-12-23 11:04:04 -07:00
Mark Ellis
64481a1a82 zfs: clevis support for all filesystems, not just those needed for boot
load zfs key from clevis for any dataset that is configured, not just
those needed for boot

also works for dual keys, e.g. those with a clevis key, and a zfs
keylocation of `file:///` (previously it would error if the zfs
keylocation was not `prompt`)
2025-12-17 13:53:13 +01:00
Martin Häcker
d27e8def02 nixos/filesystem: fix doc by-id -> by-label
Documentation was wrong, implementation already correct.
2025-12-13 19:12:38 +01:00
Tungsten842
1c07187c8f nixos/xfs: fix xfs_scrub and include service 2025-12-11 12:38:45 +01:00
rnhmjoj
6238a1d00d nixos/networking: fix wlanInterfaces udev rule
For some reason, starting with systemd v258, the INTERFACE property is
now protected but ID_NET_NAME can be set instead.
2025-12-02 17:54:34 +01:00
Tom Herbers
c9dc62eda1 treewide: switch to channels.nixos.org
This is a follow-up for #460057 to completely remove all mentions of nixos.org/channels/.

The following command was used to generate this change:

```
find . -type f -exec sed -i 's|nixos.org/channels/|channels.nixos.org/|g' {} +
```
2025-11-17 23:41:39 +01:00
Felix Bühler
7d1be29603 nixos/autoUpgrade: add runGarbageCollection option (#441565) 2025-11-15 10:59:24 +00:00
Markus Kowalewski
9d71961da2 nixos/nfs-client: add dns_resolver entry to request-key.conf (#455207) 2025-11-03 11:11:45 +00:00
Markus Kowalewski
90050b9691 nixos/nfs-client: add dns_resolver entry to request-key.conf
* A dns_resolver entry is needed for a NFSv4 client to
  resolve hostnames of NFS referrals and replicas.

* Make request-key.conf customizable, by moving
  content from separate file into
  `environment.etc."request-key.conf".text`
2025-11-03 11:01:32 +01:00
Philip Taron
01898764b6 treewide: replace "yes" else "no" usages to lib.boolToYesNo (#442387) 2025-10-28 16:25:46 +00:00
Sandro
724c799de3 nixos/trackpoint: add missing settings and update descriptions (#440539) 2025-10-28 12:54:08 +00:00
Silvan Mosberger
6ad2a24ff5 various: lib usage improvements - prefer attrNames/attrValues over mapAttrsToList (#455791) 2025-10-26 23:09:14 +00:00
John Titor
471e2931e8 nixos/stage-1: fix nix parsing error
```
error: A definition for option `boot.initrd.systemd.extraBin.mount' is not of type `absolute path'. Definition values:
       - In `/nix/store/h259dzilgbvpfsnlcyims14jrcdnx8fk-source/nixos/modules/tasks/filesystems/zfs.nix':
           {
             zfs = "/nix/store/hxg3s5l92y9n9m48p872i62dn5ck33hx-zfs-user-2.4.0-rc3/sbin/mount.zfs";
           }

```
Fixes https://github.com/NixOS/nixpkgs/pull/414391#issuecomment-3448084329
2025-10-26 14:27:21 +05:30
h7x4
ddb37e12c2 nixos/networkd: lib.mapAttrsToList -> lib.attrNames 2025-10-26 15:33:33 +09:00
Masum Reza
5992eb776d nixos/stage-1: always include util-linux mount (#414391) 2025-10-25 10:56:23 +00:00
Aliaksandr
80f12557f5 treewide: replace "yes" else "no" usages to lib.boolToYesNo 2025-10-21 16:04:34 +03:00
Jasper Chan
a28041998d nixos/trackpoint: add missing settings and update descriptions
Settings and descriptions pulled from:
https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-devices-platform-trackpoint

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2025-10-20 09:35:42 -07:00
Will Fancher
e825675658 linux/common-config: Disable bcachefs 2025-10-15 22:27:08 +05:30
h7x4
2881e466f7 nixos/btrfs: Add option to limit scrub throughput (#447954) 2025-10-14 02:50:56 +00:00
Wolfgang Walther
91a8fee3aa treewide: remove redundant parentheses
Auto-fixed by nixf-diagnose.
2025-10-05 10:52:03 +02:00