Commit graph

35949 commits

Author SHA1 Message Date
codgician
2249c0859e
nixos/waagent: specify OS.OpensslPath by default 2025-01-12 11:43:32 +08:00
codgician
538efe3263
nixos/azure: improve documentation 2025-01-12 11:43:32 +08:00
codgician
0a0f6543ad
azure-image: set font & splashImage to null to force text mode, so console for Gen 2 VM could work 2025-01-12 11:43:31 +08:00
codgician
6b9a77767a
nixos/azure: move image specific config out of azure-common 2025-01-12 11:43:31 +08:00
FliegendeWurst
03b5879e7f nixos/sway: fix Nvidia warning 2025-01-11 08:51:07 +01:00
Jan Tojnar
5c4767a41c
Merge upower: Upgrade to 1.90.6 and extend CriticalPowerActions (#341086) 2025-01-10 23:22:21 +01:00
Arne Keller
d41d4be5c3
doc/rl-2505: mention nvidia package change, add warning to Sway (#371728) 2025-01-10 14:36:56 +01:00
7c6f434c
d624c58441
stumpwm: 22.11 -> 24.11 + moved outside lisp-modules (#372466) 2025-01-10 11:18:14 +00:00
Ben Brown
e81102472a upower: Support Suspend and Ignore CriticalPowerActions 2025-01-10 09:21:01 +00:00
Donovan Glover
24a8c64c2b
nixos/caddy: Fix default log file for http:// hostnames (#371802) 2025-01-10 06:04:38 +00:00
Kasper Gałkowski
ecbc3c2a87 stumpwm: 22.11 -> 24.11
Moved outside lisp-modules to a separate package, so as to re-use its
Makefile-based build-system and make a step in the direction of leaving just
development libraries in lisp-modules.
2025-01-10 04:47:23 +01:00
Leona Maroni
6355c63f9f
Provide NixOS module option to enable the paperless exporter. (#242084) 2025-01-09 22:25:58 +01:00
Felix Bühler
49d7b9e9f7
nixos/pam: fixup refactor (#372238) 2025-01-09 20:28:09 +01:00
K900
b86e4001f3 nixos/galene: use types.path for paths 2025-01-09 17:34:58 +03:00
Julien Malka
851f7fc119
nixos/clevis: do not use systemd-udev-settle (#372374) 2025-01-09 14:58:13 +01:00
rnhmjoj
2b19079b86
nixos/clevis: do not use systemd-udev-settle
See https://github.com/NixOS/nixpkgs/issues/73095 for motivations.
In this case we can just use tpm2.target (available since systemd 256).
2025-01-09 14:23:38 +01:00
FliegendeWurst
1e4221b0e2 nixos/sway: warn on too old Nvidia 2025-01-09 08:59:01 +01:00
Aaron Andersen
b6fe803517
nixos/pam: fixup refactor 2025-01-08 17:51:22 -05:00
piegames
31777a589c
More string fixes (#367757) 2025-01-08 20:12:26 +01:00
Andreas Fuchs
ad55e1a1ef Make systemd-resolved's config file a reload trigger
It is documented to re-read its configuration file upon reload, so
we can simply reload it instead of restarting the whole daemon.
2025-01-08 13:38:04 -05:00
Andreas Fuchs
0c5719fe0e Don't stop systemd-{networkd,resolved,udevd} on config switch
These daemons should not be stopped, as they're foundational to a
proper functioning of the system. When switching configurations, they
only need a restart instead of that stop/start cycle.
2025-01-08 13:05:27 -05:00
Artturin
b72ee2446e
nixos/earlyoom: mention extraArgs breakage and fix example (#371550) 2025-01-08 17:07:52 +02:00
phaer
0b162c3dbc iso-image: fix output filename
While switching from isoImage.baseName to the unified image.baseName,
I accidentaly dropped label and system information from the iso filename.

This fixes it by including isoImage.edition in the default baseName for
all our isos. Resulting in filenames such as
`nixos-minimal-25.05beta708350.1d95cb5-x86_64-linux.iso` again instead
of just nixos-minimal.iso.
2025-01-08 14:35:07 +01:00
Dict Xiong
165e372a15 nixos/doh-server: init 2025-01-07 23:37:47 +01:00
Lukas Werling
ff07c07608 nixos/caddy: Fix default log file for http:// hostnames
Caddy hostnames can begin with http:// to disable automatic HTTPS.
The default value for services.caddy.<host>.logFormat puts the hostname
in the log filename, resulting in a broken path. Similarly, multiple
space-separated host names would not work before.

Since version 2.9.0 (commit 7c52e7a), caddy fails to start if it cannot
open the log file. This caused NixOS test failures (e.g.,
nixosTests.dokuwiki).
2025-01-07 23:22:04 +01:00
piegames
dd7d5339f7 treewide: Fix incorrect string indentations 2025-01-07 19:49:28 +01:00
piegames
603733851b treewide: Fix incorrect string escapes 2025-01-07 19:49:28 +01:00
Michele Guerini Rocco
e7bd1e2e10
nixos/dhcpcd: update sandboxing options (#349041) 2025-01-07 16:54:30 +01:00
Bjørn Forsman
58f12ee8a6 nixos/homepage-dashboard: fix stale cache issue
When the cache is stale, homepage-dashboard serves bad data (UI lacks
styling etc.). This issue happens at least on homepage-dashboard version
upgrades.

Fixes https://github.com/NixOS/nixpkgs/issues/346016.
2025-01-06 22:37:35 +01:00
oxalica
a189e89e2a nixos/earlyoom: mention extraArgs breakage and fix example
The shell-escaping breaks space handling and also makes the example
outdated. This breakage is missed in the previous change.

Also mention it in the release note.
2025-01-06 15:44:14 -05:00
Izorkin
21bb7ea948
nixos/dhcpcd: update sandboxing options 2025-01-06 22:24:56 +03:00
Matthieu Coudron
55c0a30825
mptcpd: init at 0.13 (#355928) 2025-01-06 18:27:11 +01:00
Bjørn Forsman
be0fda6511 homepage-dashboard: prefix nixpkgs-specific env var with NIXPKGS_
I thought HOMEPAGE_CACHE_DIR was an upstream env var, and it confused me
a lot. Let's prefix it with NIXPKGS_ to make it clear that it's nixpkgs
specific.
2025-01-06 18:18:57 +01:00
Bjørn Forsman
cc5645c6e0 nixos/dhcpcd: fix updating resolv.conf when using systemd-resolved
Fix the regression between NixOS 24.05 and 24.11 where using dhcpcd
(e.g. networking.useDHCP) and systemd-resolved
(services.resolved.enable) result in no "search" entry getting added to
/etc/resolv.conf, and dhcpcd logging the following error:

  $ systemctl status dhcpcd
  [...] dhcpcd[2896]: Failed to set DNS configuration: Interactive authentication required.

Fix it by adding a polkit rule that gives the required permissions to
the 'dhcpcd' user to manipulate resolved. The rule was made by using
polkit logging and allowing each action.id until the above error went
away, and /etc/resolv.conf got the correct search entry.
2025-01-06 18:07:52 +01:00
Will Fancher
ece718c464
nixos/systemd-stage-1: Fix FIDO2 udev rules (#371384) 2025-01-06 11:43:39 -05:00
Will Fancher
fd8696a178 nixos/systemd-stage-1: Fix FIDO2 udev rules
Fixes #368856
2025-01-06 11:41:39 -05:00
Michele Guerini Rocco
d575340ffb
nixos/alsa: rebirth from the ashes (#337345) 2025-01-06 11:08:25 +01:00
Gaétan Lepage
0e9891503a
nixos/fcitx5: fix quickphrase (#368743) 2025-01-06 09:01:05 +01:00
Christian Theune
865ab91155 nixos/paperless: add module options for automated exports
Paperless includes a document exporter that can be used for e.g.
backups.

This change extends the module to provide a way to enable and configure
a timer, export settings, pre- and post-processing
scripts (e.g. to ship the backup somewhere else, clean up, ...).

It works out of the box when just enabling it but can be customized.

Includes suitable tests.
2025-01-06 08:26:23 +01:00
Pol Dellaiera
942e79dbd2
nixos/netbird: fix state directory mode (#371315) 2025-01-06 07:01:42 +01:00
Patrick
8e44bd9c66
nixos/netbird: fix state directory mode 2025-01-06 02:14:42 +01:00
Christian Kögler
c699985294
plantuml-server: remove unnecessary systemd option path (#309893) 2025-01-06 00:06:55 +01:00
Christian Kögler
945777b8ed
nixos/zfs: Set scrub default IOSchedulingClass to idle (#312193) 2025-01-05 23:57:50 +01:00
Will Fancher
b7ea795937
nixos/overlayfs: add a switch to disable prefixing with /sysroot for initrd mounts (#340763) 2025-01-05 17:56:41 -05:00
Will Fancher
764082c095
nixos/fileSystems: add enable option (#301915) 2025-01-05 17:40:23 -05:00
Christian Kögler
5abdde9f60
udev: substitute /usr/bin/cat in rules (#370740) 2025-01-05 23:35:03 +01:00
Donovan Glover
310cc42940
anbox: drop (#370821) 2025-01-05 22:19:09 +00:00
Ryan Hendrickson
289a4c6631
nixos/btrbk: add snapshotOnly option (#369480) 2025-01-05 16:30:50 -05:00
Thiago Kenji Okada
6e6188af7b
image/images: Adapt remaining images to system.build.image & normalized filenames, (#359345) 2025-01-05 20:28:23 +00:00
Martin Weinelt
538b8b43e2
nixos/wstunnel: improve assertions (#368755) 2025-01-05 18:18:52 +01:00