add systemd-timesync user to initrd
All checks were successful
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #22889 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #22888 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #22887 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux

This commit is contained in:
Charlotte 🦝 Delenk 2024-11-01 13:41:12 +01:00
parent 1e39a2319f
commit b58a80bba3

View file

@ -9,6 +9,9 @@ with lib; {
};
config = mkIf config.boot.initrd.timesync.enable {
boot.initrd.systemd.users.systemd-timesync = {
uid = config.users.users.systemd-timesync.uid;
};
boot.initrd.systemd.network = {
enable = true;
wait-online.enable = true;