Commit graph

4878 commits

Author SHA1 Message Date
github-actions[bot] 9f6509c682
Merge staging-next into staging 2024-10-12 00:14:07 +00:00
github-actions[bot] 4f2eec3440
Merge master into staging-next 2024-10-12 00:13:45 +00:00
Atemu 12ef18d2e3
nixos/systemd-boot: Simpler windows dual booting (#344327) 2024-10-11 20:25:08 +02:00
github-actions[bot] 9b6cd89281
Merge staging-next into staging 2024-10-11 18:05:02 +00:00
github-actions[bot] b415f9c282
Merge master into staging-next 2024-10-11 18:04:32 +00:00
Felix Uhl 73011ba96f nixos/systemd-boot: add windows option for easy dual-booting
When installing NixOS on a machine with Windows, the "easiest" solution
to dual-boot is re-using the existing EFI System Partition (ESP), which
allows systemd-boot to detect Windows automatically.

However, if there are multiple ESPs, maybe even on multiple disks,
systemd-boot is unable to detect the other OSes, and you either have to
use Grub and os-prober, or do a tedious manual configuration as
described in the wiki:
https://wiki.nixos.org/w/index.php?title=Dual_Booting_NixOS_and_Windows&redirect=no#EFI_with_multiple_disks

This commit automates and documents this properly so only a single line
like

    boot.loader.systemd-boot.windows."10".efiDeviceHandle = "HD0c2";

is required.

In the future, we might want to try automatically detecting this
during installation, but finding the correct device handle while the
kernel is running is tricky.
2024-10-11 10:56:02 +02:00
MithicSpirit e14483d6a6
formats.ini: disable merging as list by default
Previously, setting listsAsDuplicateKeys or listToValue would make it so
merging these treat all values as lists, by coercing non-lists via
lib.singleton. Some programs (such as gamemode; see #345121), allow some
values to be repeated but not others, which can lead to unexpected
behavior when non-list values are merged like this rather than throwing
an error.

This now makes that behavior opt-in via the mergeAsList option. Setting
mergeAsList (to either true or false) without setting either
listsAsDuplicateKeys or listToValue is an error, since lists are
meaningless in this case.
2024-10-10 17:57:41 -04:00
github-actions[bot] 144082b47e
Merge staging-next into staging 2024-10-10 18:05:19 +00:00
github-actions[bot] c64ae284c0
Merge master into staging-next 2024-10-10 18:04:46 +00:00
Fabián Heredia Montiel 0cdc526090
deno: 1.46.3 -> 2.0.0, deno_1: init at 1.46.3 (#347484) 2024-10-10 09:36:33 -06:00
github-actions[bot] 61a438a474
Merge staging-next into staging 2024-10-10 12:06:10 +00:00
github-actions[bot] a5883bc172
Merge master into staging-next 2024-10-10 12:05:39 +00:00
Franz Pletz 9958dd2df8
immersed-vr: rename to immersed (#341266) 2024-10-10 13:47:06 +02:00
Franz Pletz af7b205640
nixos/localtimed: set time.timeZone to null to avoid silent overriding (#347221) 2024-10-10 13:44:36 +02:00
06kellyjac dfce2bc3a7 deno_1: init at 1.46.3
Add a pre v2 copy of deno as deno_1 to provide some stability until our next
release and until 1.46 is fully abandoned soon.
deno_1 is expected to be removed prior to 24.11.
Added a release note.
2024-10-10 11:51:26 +01:00
06kellyjac 43984407b5 deno: 1.46.3 -> 2.0.0
Updates deno to v2.
Slight refactor of fetcher code for grabbing librusty_v8.
Updated the update scripts to use new Deno v2 interfaces and pull latest
toml dependency from jsr rather than the deno.land registry.
Added release note.
2024-10-10 11:51:26 +01:00
Emily e694240f77 Merge staging-next into staging 2024-10-10 01:23:52 +01:00
Frank Doepper ecdfb14ef9 nixos/frr: refactor
- use upstream service and scripts
- switch to integrated-vtysh-config, abandon per-daemon config
- use always daemon names in options (e.g. ospf -> ospfd)
- zebra, mgmtd and staticd are always enabled
- abandon vtyListenAddress, vtyListenPort options; use
  just "extraOptions" or "options" instead, respectively
- extend test to test staticd
- update release-notes
- pkgs.servers.frr: fix sbindir and remove FHS PATH
- introduce services.frr.openFilesLimit option
2024-10-09 22:49:50 +02:00
K900 0717a4da77 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-09 21:08:25 +03:00
Franz Pletz ae4102c9f3
headscale (module and package): 0.22.3 -> 0.23.0 (#340054) 2024-10-09 17:01:18 +02:00
github-actions[bot] 96ea2a3c2f
Merge staging-next into staging 2024-10-09 00:14:47 +00:00
github-actions[bot] b1bc4ea2b5
Merge master into staging-next 2024-10-09 00:14:24 +00:00
Niklas Hambüchen b061499d34
ceph: 18.2.4 -> 19.2.0 (#344993) 2024-10-09 01:25:14 +02:00
Niklas Hambüchen b9b23b2a72 rl-2411: Mention Ceph upgrade 2024-10-08 23:18:51 +00:00
Florian Klink 2ec88eb10b
nixos/systemd: allow running shellcheck on generated systemd scripts (#311394) 2024-10-08 22:24:49 +03:00
Gavin John ab5706b3a5
nixos/programs.immersed-vr: rename to programs.immersed 2024-10-08 11:38:55 -07:00
K900 956f9243c0 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-08 21:15:13 +03:00
github-actions[bot] 4b355c2828
Merge staging-next into staging 2024-10-08 18:04:57 +00:00
Vladimír Čunát a0c9222e11
Merge branch 'master' into staging-next
(a bit older master for now, due to a conflict in dhcpcd service)
2024-10-08 14:59:47 +02:00
Florian Klink 146e83d76b
dhcpcd: enable sandboxing options (#208780) 2024-10-08 13:09:11 +03:00
Norbert Melzer 8af94f7ca2
rustic: 0.8.1 -> 0.9.1 (#346508) 2024-10-08 12:07:39 +02:00
r-vdp 2b224f0e3c
nixos/systemd: allow using writeShellApplication for systemd unit scripts 2024-10-08 12:01:48 +02:00
Sebastián Zavala Villagómez 1c5727cdf7 nixos/localtimed: set time.timeZone to null to avoid silent overriding
Currently if a timezone was selected explicitly, the service will
silently override the value, essentially ignoring what is meant to be a
a deliberate choice of option. This may cause confusion as to why the
option is not doing anything when this service is enabled, particularly
in more complex set-ups after some time.

This will simply make the choice deliberate from the user's part, either
by having to remove the option or lowering its priority as a recognition
that it may be ignored.

This change was inspired by the `services.tzupdate` module, which does
the same.

[1]: <https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/misc/tzupdate.nix#L24>
2024-10-07 23:40:49 -04:00
Emily 85faae5e12 Merge staging-next into staging 2024-10-08 01:24:14 +01:00
Emily df769e85f3 Merge master into staging-next 2024-10-08 01:23:55 +01:00
github-actions[bot] 5a96e99128
Merge staging-next into staging 2024-10-08 00:14:03 +00:00
Thomas Gerbet 16caf1231b cups-filters: remove support for legacy CUPS browsing and for LDAP
Fixes CVE-2024-47176 and CVE-2024-47850. NixOS is not affected by these security issues by
default because we do not ship the default configuration file so it fallbacks to `BrowseRemoteProtocols dnssd`.

631/udp is removed from the open firewall ports, it was by the CUPS
browsing protocol.
2024-10-07 22:28:12 +02:00
K900 0846895fc6 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-07 21:08:55 +03:00
Philip Taron 9f186c2632
srcOnly: Some improvements (#345198) 2024-10-07 10:20:51 -07:00
Sandro 0538ecd092
rss-bridge: Remove pkg patch, adapt nixos service (#331295) 2024-10-07 18:57:22 +02:00
github-actions[bot] 6c9d940294
Merge staging-next into staging 2024-10-07 06:05:43 +00:00
github-actions[bot] 5fa43e7396
Merge master into staging-next 2024-10-07 06:05:15 +00:00
Emily 85c36fecfc
xen: nuke, move to by-name. (#345192) 2024-10-07 03:48:37 +01:00
Emily 1a53b400e5
mongodb: mongodb-5_0 -> mongodb-7_0; mongodb-5_0: drop; unifi: unifi7 -> unifi8; unifi{7,-video}: drop (#345625) 2024-10-07 01:38:54 +01:00
github-actions[bot] 7306ea41bd
Merge staging-next into staging 2024-10-07 00:15:20 +00:00
github-actions[bot] ab0e8e5be7
Merge master into staging-next 2024-10-07 00:14:55 +00:00
Emily 086676017e mongodb: mongodb-5_0 -> mongodb-7_0 2024-10-06 22:47:42 +01:00
Emily b0395df085 unifi7: drop 2024-10-06 22:47:41 +01:00
Izorkin 611b1d53b7
dhcpcd: enable sandboxing options 2024-10-06 23:46:18 +03:00
Fernando Rodrigues 64cc613a0f
release-notes: remove mentions to xen-slim or 4.18
They were removed during the great Xen deletion.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-10-06 20:24:30 +00:00