Commit Graph

3320 Commits

Author SHA1 Message Date
Robert Hensing
41b98b4a8a nixos: Shuffle definitions and deprecate system.extraSystemBuilderCmds
Shuffle:
The definitions are now combined into a single option. Since they have
no interdependencies, that's ok, but you may notice this trivial change
by a changed hash, and analyzing with nix-diff.

Deprecation:
Use the option `system.systemBuilderCommands` instead.
2025-11-12 21:00:32 +01:00
Paul Haerle
44c30b3ff9 nixos/systemd-networkd: Add missing option in netdev Tunnel (#452205) 2025-11-10 13:20:41 +00:00
jamie
754edf0e23 limine: fix typo ('streched' to 'stretched') 2025-11-07 22:12:27 +00:00
Acid Bong
d24ec930d5 nixos/boot.tmp: fix description rendering 2025-11-06 17:37:32 +02:00
Benedikt Hiemer
143040786b nixos/journald-gateway: change default of user and system option to false
Until now, both options are set to true as default. But the systemd-journal-gatewayd
service defaults them to false. To match the origin behaviour, the defaults have been
changed.
2025-11-03 08:21:00 +01:00
Benedikt Hiemer
532ba62c26 nixos/journald-gateway: remove assertion making system and user args truly optional 2025-11-01 11:41:41 +01:00
Will Fancher
7832429142 nixos/systemd: CPUAccounting is deprecated (#454999) 2025-10-31 07:16:53 +00:00
Johannes Kirschbauer
4ad85b485d various: lib usage improvements - prefer removeAttrs over filterAttrs (#455787) 2025-10-27 16:17:52 +00:00
h7x4
6992ef3a7f nixos/kernel_config: lib.any -> lib.elem 2025-10-26 16:23:36 +09:00
h7x4
77bd061030 nixos/systemd: lib.filterAttrs -> lib.removeAttrs 2025-10-26 15:21:23 +09:00
Masum Reza
5992eb776d nixos/stage-1: always include util-linux mount (#414391) 2025-10-25 10:56:23 +00:00
benaryorg
27323e52cc nixos/systemd: CPUAccounting is deprecated
systemd 258 has the following changes noted in systemd.resource-control(5):

> `CPUAccounting=` setting is deprecated, because it is always available on the unified cgroup hierarchy and such setting has no effect.

This commit removes it from the three services using it directly, as well as one instance of example text.

Signed-off-by: benaryorg <binary@benary.org>
2025-10-23 18:54:30 +00:00
h7x4
ddc42ca86f nixos/plymouth: refresh (#454358) 2025-10-23 06:11:17 +00:00
Acid Bong
6e1fb5d6b2 nixos/plymouth: make use of lib.getExe' wherever possible 2025-10-22 20:50:52 +03:00
Acid Bong
e6aa2e34a1 nixos/plymouth: add package option 2025-10-22 20:33:10 +03:00
Johannes Kirschbauer
43b77e1457 lib/cli: add toCommandLine (#404233) 2025-10-22 14:45:00 +00:00
Masum Reza
ba6e9f00fb limine: convert boolean values (#453583) 2025-10-22 14:23:20 +00:00
Acid Bong
115adc466a nixos/plymouth: replace with lib; with inherit 2025-10-22 12:57:14 +03:00
Lukas Wurzinger
1f4c50ab81 lib/cli: deprecate toGNUCommandLine 2025-10-21 21:01:38 +02:00
K900
a905b1d8e1 nixos/systemd-initrd: fix eval under allowAliases = false 2025-10-20 11:19:41 +03:00
Sizhe Zhao
b8af8f2e3d limine: convert boolean values 2025-10-20 02:36:44 +08:00
matthewcroughan
253a0165f0 nixos/systemd-initrd: only include glibc nss modules on glibc systems 2025-10-18 14:20:15 +01:00
nixpkgs-ci[bot]
ce0844a584 Merge master into staging-next 2025-10-15 12:55:06 +00:00
Albert Larsan
ec2ce20ac4 nixos/systemd-networkd: Add missing option in netdev Tunnel
It exists since systemd 254 (https://www.freedesktop.org/software/systemd/man/latest/systemd.netdev.html#IgnoreDontFragment=)
2025-10-15 12:04:51 +02:00
nikstur
653fd8c995 nixos/systemd/shutdown: make shutdown ramfs bashless 2025-10-14 10:14:43 +02:00
nikstur
b9d0fd8be4 nixos/systemd/shutdown: stricter sandboxing
Copied the config from archlinux's mkinitcpio:
318ae30f6a/systemd/mkinitcpio-generate-shutdown-ramfs.service
2025-10-14 10:14:43 +02:00
nixpkgs-ci[bot]
bff70f3185 Merge master into staging-next 2025-10-13 12:07:07 +00:00
Arian van Putten
d1493eb6df pkgs-lib/formats/systemd: make format a function (#448460) 2025-10-13 11:16:24 +00:00
h7x4
fa6b7ec3d4 pkgs-lib/formats/systemd: make format a function 2025-10-13 20:11:40 +09:00
nixpkgs-ci[bot]
543be3b14a Merge master into staging-next 2025-10-12 18:05:14 +00:00
Luj
b72938b595 nixos/systemd-boot: use /dev/null for empty file instead of mktemp (#450857) 2025-10-12 19:38:29 +02:00
Emily
7f9a83be1f nixos/nixos-init: add more strict assertions for required config (#450775) 2025-10-12 15:15:13 +00:00
nikstur
8f5d10fd7e nixos/nixos-init: add more strict assertions for required config 2025-10-12 16:55:23 +02:00
nixpkgs-ci[bot]
9cbb132d0a Merge master into staging-next 2025-10-12 12:40:00 +00:00
Lee Bousfield
a5082278a9 nixos/systemd-boot: use /dev/null for empty file
Previously, mktemp was used, but it's not necessary and wasn't deleted.
2025-10-10 19:45:21 -05:00
nikstur
7226218c6c nixos/profiles/bashless: init (#435428) 2025-10-10 22:20:06 +02:00
nixpkgs-ci[bot]
fa9347194d Merge master into staging-next 2025-10-10 12:07:02 +00:00
nikstur
8002da18ab nixos/systemd-initrd: add boot.initrd.systemd.shell.enable option 2025-10-09 23:52:38 +02:00
nikstur
26cf6ffe54 nixos/top-level: only include preSwitchChecks when they are set 2025-10-09 23:52:38 +02:00
nikstur
ccf0b1426f nixos/timesyncd: remove migration path dating back to 19.09
Also remove the test that only tested this migration and nothing else
about systemd-timesyncd.
2025-10-08 16:05:41 +02:00
nikstur
7ccd3bd8f4 nixos/timesyncd: remove unnecessary workaround
This workardoung is now unnecessary because systemd and
systemd-timesyncd will never actually revert to a time lower than the
current system time. It will only *advance* the system time to the EPOCH
if the system time is lower.

This also makes systemd-timesyncd bashless as we remove the preStart
script for any NixOS version newer than 19.09.
2025-10-08 15:53:17 +02:00
K900
fb73ccd10d Merge remote-tracking branch 'origin/staging-next' into staging 2025-10-07 08:19:36 +03:00
Sizhe Zhao
3fbc40c0ac nixos/limine: forceMbr -> force 2025-10-06 21:48:31 +08:00
Wolfgang Walther
5e1f5b623b Merge branch 'staging-next' into staging 2025-10-05 11:40:56 +02:00
K900
e93c560b79 Merge remote-tracking branch 'origin/master' into staging-next 2025-10-05 12:17:08 +03:00
Wolfgang Walther
91a8fee3aa treewide: remove redundant parentheses
Auto-fixed by nixf-diagnose.
2025-10-05 10:52:03 +02:00
Wolfgang Walther
c283f32d29 treewide: remove unused with
Auto-fixed by nixf-diagnose.
2025-10-05 10:50:41 +02:00
Will Fancher
6160af2a36 nixos/systemd-oomd: Drop swap ordering
This ordering is present in the upstream unit in 258
2025-10-03 01:35:52 -04:00
Ali Rizvi
107893c8f3 nixos/systemd-oomd: drop old After= dependency 2025-10-03 01:35:22 -04:00
Will Fancher
5da25f9301 systemd: Patch journald's Audit setting
https://github.com/systemd/systemd/pull/39069
2025-10-02 19:53:08 -04:00