Дамјан Георгиевски
83f65146ab
nixos/systemd: systemd-growfs* units are real files now
...
`systemd-growfs@.service` and `systemd-growfs-root.service` became real units since:
50072ccf1b
we need to add them to the nixos module so growfs works again
2023-03-05 20:05:00 +01:00
Дамјан Георгиевски
d2837a9cb3
nixos/systemd-initrd: create the /tmp mount point in the initrd
...
systemd now requires the /tmp mount point in the initrd cpio archive
since https://github.com/systemd/systemd/pull/25723
setting `"/tmp/.keep".text` will create the directory.
this fixes a boot failure:
```
(sd-gens): Failed to overmount /tmp/: No such file or directory
```
2023-03-05 04:41:08 +01:00
github-actions[bot]
387a5e220d
Merge staging-next into staging
2023-02-28 00:03:08 +00:00
Will Fancher
ace4d26ccc
Merge pull request #217887 from lilyinstarlight/fix/allow-overriding-systemd-initrd-bins
...
nixos/systemd-initrd: allow overriding initrdBin with extraBin
2023-02-27 17:43:30 -05:00
github-actions[bot]
de3f71e277
Merge staging-next into staging
2023-02-26 06:02:30 +00:00
Winter
15f1369b95
Revert "nixos/systemd-coredump: guard static gid for systemd-coredump behind state version"
...
This reverts commits f5483464d5
and
6b9583e5e1
.
Ideally, we shouldn't cause friction for users that bump `stateVersion`,
and I'd consider having to switch and/or manually hardcode a UID/GID
to supress the warning friction. I think it'd be more beneficial to, in
this rare case of an ID being missed, just let it be until more
discussion happens surrounding this overall issue.
See https://github.com/NixOS/nixpkgs/pull/217785 for more context.
2023-02-25 22:31:56 -05:00
Lily Foster
5210ddc701
nixos/systemd-initrd: allow overriding initrdBin with extraBin
...
Being able to override `boot.initrd.systemd.initrdBin` with `boot.initrd.systemd.extraBin` is a desirable behavior, so this PR changes the `ln -s` command to `ln -sf` to force link even if the file already exists.
2023-02-23 13:23:15 -05:00
Nick Cao
f5483464d5
nixos/systemd-coredump: guard static gid for systemd-coredump behind state version
2023-02-23 17:07:50 +08:00
github-actions[bot]
fc3641aa1e
Merge staging-next into staging
2023-02-21 00:03:04 +00:00
Will Fancher
bb7cd63150
Merge pull request #215381 from lilyinstarlight/fix/make-initrd-ng-wrapped-executables
...
make-initrd-ng: support wrapped executables
2023-02-20 14:11:48 -05:00
Lily Foster
1fa1b58c25
nixos/console,nixos/systemd-initrd: remove now-unnecessary wrapped bin inclusions
2023-02-20 07:02:55 -05:00
github-actions[bot]
3b5c06282d
Merge staging-next into staging
2023-02-17 12:01:58 +00:00
Arian van Putten
98042fc6d3
Merge pull request #216357 from nikstur/systemd-repart-after-activation
...
nixos/systemd-repart: enable running after initrd
2023-02-17 12:56:24 +01:00
Florian Klink
ab566b8656
Merge pull request #208269 from ElvishJerricco/systemd-stage-1-fsck
...
Systemd stage 1 fsck
2023-02-17 10:06:39 +02:00
nikstur
b1ff1e1658
nixos/systemd-repart: enable running after initrd
2023-02-14 19:42:32 +01:00
K900
2bbd450b8b
Merge pull request #210505 from notgne2/fix/systemd-initrd-allow-symlink
...
nixos/systemd-initrd: allow symlink into when checking for `/prepare-root`
2023-02-14 21:10:31 +03:00
Arian van Putten
5b23d0e51c
Merge pull request #214396 from nikstur/systemd-repart
...
systemd-repart
2023-02-10 20:03:09 +01:00
nikstur
4700198654
nixos/systemd-repart: init
2023-02-10 14:05:44 +01:00
Izorkin
6b9583e5e1
nixos/systemd-coredump: fix group id
2023-02-08 20:48:13 +03:00
Will Fancher
14b77582da
systemd-stage-1: fsck
2023-02-08 00:43:10 -05:00
Will Fancher
1b39491326
systemd-stage-1: Use x-initrd.mount
for better unit dependencies
2023-02-07 22:22:39 -05:00
Will Fancher
988184ca82
systemd-stage-1: managerEnvironment option
2023-02-07 22:22:39 -05:00
Majiir Paktu
7f35c8b2ac
nixos/systemd/coredump: fix kernel.core_pattern truncation
...
Fixes #213408
2023-01-29 15:49:16 -05:00
Jörg Thalheim
86d5b67260
disable tpm-crb on riscv64
2023-01-23 15:00:41 +01:00
Martin Weinelt
5770984a95
Merge pull request #211252 from schnusch/systemd-user-tmpfiles-rules
...
nixos: systemd: systemd.user.tmpfiles.users add default
2023-01-17 17:41:41 +00:00
schnusch
f0f2c6bec9
nixos: systemd: systemd.user.tmpfiles.users add default
2023-01-17 16:53:45 +01:00
Florian Klink
24b4189619
Merge pull request #207468 from schnusch/systemd-user-tmpfiles-rules
...
nixos: systemd: add systemd.user.tmpfiles.rules, systemd.user.tmpfiles.users.<name>.rules
2023-01-17 14:39:44 +01:00
schnusch
34ad8447c3
nixos: systemd: add systemd.user.tmpfiles
2023-01-17 12:19:40 +01:00
notgne2
fd06c8fc9f
nixos/systemd-initrd: allow symlink into when checking for /prepare-root
2023-01-13 02:18:28 -07:00
github-actions[bot]
e4fc9a910a
Merge master into staging-next
2023-01-09 12:01:24 +00:00
Naïm Favier
bff4bb5540
Merge pull request #208762 from ncfavier/link-manpages-options-doc
2023-01-09 11:57:01 +01:00
github-actions[bot]
0c8280b1c4
Merge staging-next into staging
2023-01-05 06:01:39 +00:00
pennae
9da5f12ecf
modules: add mkPackageOptionMD
...
another transitional option factory, like mkAliasOptionModuleMD.
2023-01-05 02:33:13 +01:00
Naïm Favier
4fb500d629
nixos/doc: fix some manpage references
2023-01-03 14:03:35 +01:00
Sergei Trofimovich
092d57c076
Merge remote-tracking branch 'origin/staging-next' into staging
...
Conflicts:
pkgs/development/tools/language-servers/ansible-language-server/default.nix
2022-12-28 09:35:37 +00:00
Will Fancher
9a497aab1b
systemd-stage-1: Improve test-instrumentation output
2022-12-24 19:36:29 -05:00
Leorize
05420f34cf
nixos: add systemd-homed support
...
As a start, it's not very configurable, but works pretty well.
2022-12-09 12:10:51 -06:00
Leorize
0cc87ab901
nixos/systemd/userdbd: add method to enable service
...
This is recommended to enable in conjunction with systemd-homed.
2022-12-08 10:28:41 -06:00
github-actions[bot]
71e4896d63
Merge master into staging-next
2022-10-22 12:01:25 +00:00
markuskowa
79638604bb
Merge pull request #189703 from ck3d/remove-incomplient-nspawn-options
...
nixos/nspawn: Remove not compliant options
2022-10-22 12:19:49 +02:00
Zhaofeng Li
b9b454820a
systemd/initrd: Add TPM modules into initrd
...
This improves the out-of-box experience of TPM2 unlocking at a
small (50K) overhead.
2022-10-05 08:22:53 -06:00
Zhaofeng Li
19c34ac44b
systemd/initrd: Add files required by TPM2 and FIDO2 support to the initramfs
2022-10-05 08:22:14 -06:00
Zhaofeng Li
570824e102
systemd: Wrap in LUKS2 tokens
...
Update pkgs/os-specific/linux/systemd/default.nix
Co-authored-by: Janne Heß <janne@hess.ooo>
Co-authored-by: Ilan Joselevich <personal@ilanjoselevich.com>
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2022-10-05 08:22:14 -06:00
github-actions[bot]
855f2990f1
Merge staging-next into staging
2022-10-05 12:02:14 +00:00
Florian Klink
c1c406bc87
Merge pull request #191491 from oxalica/fix/systemd-initrd-modprobe
...
nixos/systemd-stage-1: include modprobe confg in initrd
2022-10-05 10:39:58 +02:00
phaer
fcd5087046
systemd: build with portabled by default.
2022-09-30 14:53:50 +02:00
Robert Hensing
d1f0a6d972
nixos/systemd/oomd: mdDoc fix
2022-09-28 16:07:42 +02:00
Bernardo Meurer
2e0cca58f0
Merge pull request #169613 from helsinki-systems/feat/systemd-oomd
2022-09-28 09:53:49 -03:00
oxalica
c5c42d4fbe
nixos/systemd-stage-1: include modprobe confg in initrd
2022-09-16 20:54:04 +08:00
Christian Kögler
cfbf9bd15c
nixos/nspawn: Fix configuration name PrivateUsersOwnership
...
Fix #189046
2022-09-11 13:08:36 +02:00