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
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
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
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
nixpkgs-ci[bot]
02bde57e9a
Merge master into staging-next
2025-09-24 18:05:53 +00:00
Luj
85f5bb8e46
nixos/systemd-boot: atomically update copied destination files ( #444960 )
2025-09-24 16:12:02 +02:00
sternenseemann
85c7452e80
nixos/systemd-boot: fsync() copied files
...
Since mkstemp() gives us a file descriptor, we may as well call fsync().
2025-09-24 01:35:51 +02:00
sternenseemann
94c190a55c
nixos/systemd-boot: atomically update copied destination files
...
We absolutely do not want to leave an incomplete file behind in /boot
since an incomplete initrd would render the machine unbootable. Errors
while writing are relatively common, mostly due to full /boot
partitions.
systemd-boot-builder does never attempt to re-write already existing
files which means that such situations are not fixable by re-running
nixos-rebuild etc. Instead the user needs to know about internals of the
systemd-boot and manually delete the correct file to recover from a
partially written kernel or (more commonly) initrd in /boot.
Note that this used to be a non issue since systemd-boot-builder used to
always delete all kernels and initrds before copying kernels and
initrds, so dest.exist() would always return False. This was fixed in
f2ca990558 , revealing the underlying bad
assumption (that copyfile() always succeeds or fails without writing
anything).
The solution is to write to a temporary file first and move it to the
destination path only after this has succeeded. This way, if an error
occurs during copying, only a file distinct from dest is left behind
which would be cleaned up by subsequent runs of remove_old_entries().
Resolves #444066 .
2025-09-24 01:00:44 +02:00
K900
83dfcbb306
Merge remote-tracking branch 'origin/master' into staging-next
2025-09-23 21:15:13 +03:00
misuzu
e7fa9ff16c
nixos-init: init at 0.1.0 ( #433154 )
2025-09-23 12:48:56 +00:00
nikstur
3c24952c6d
chroot-realpath: drop in favour of nixos-init
2025-09-23 00:21:34 +02:00
nikstur
d9e6299acc
nixos/etc: use nixos-init to find etc
2025-09-23 00:21:33 +02:00
nikstur
d0c03e4c5a
nixos-init: init at 0.1.0
2025-09-23 00:21:33 +02:00
nixpkgs-ci[bot]
f08a85f704
Merge master into staging-next
2025-09-22 12:07:05 +00:00
h7x4
4ba3f60b8a
various: use mkPackageOption
2025-09-22 02:46:54 +02:00
K900
be0b9e1bff
Merge remote-tracking branch 'origin/staging-next' into staging
2025-09-19 07:49:55 +03:00
Franz Pletz
6e3bccdd2d
nixos/systemd: add units for capsule support
2025-09-17 21:41:43 +02:00
nixpkgs-ci[bot]
94ce9acecb
Merge staging-next into staging
2025-09-15 18:06:28 +00:00
misuzu
72f6935afb
nixos/plymouth-tpm2-totp: init ( #424861 )
2025-09-15 16:27:55 +00:00
Majiir Paktu
b5bbf6f901
nixos/plymouth-tpm2-totp: init
2025-09-15 12:22:54 -04:00