add timesyncd to initrd
All checks were successful
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #22735 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra checks.x86_64-linux.containers-default Hydra build #22732 of nixos-config:pr618:checks.x86_64-linux.containers-default
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #22734 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra nixosConfigurations.not522 Hydra build #22736 of nixos-config:pr618:nixosConfigurations.not522
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #22733 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Hydra nixosConfigurations.not522-installer Hydra build #22737 of nixos-config:pr618:nixosConfigurations.not522-installer

This commit is contained in:
Charlotte 🦝 Delenk 2024-11-01 09:51:52 +01:00
parent d2e0858e28
commit 1e39a2319f

View file

@ -32,5 +32,8 @@ with lib; {
environment.SYSTEMD_NSS_RESOLVE_VALIDATE = "0";
serviceConfig.ExecStart = "${config.boot.initrd.systemd.package}/lib/systemd/systemd-timesyncd";
};
boot.initrd.systemd.storePaths = [
config.boot.initrd.systemd.services.sync-time.serviceConfig.ExecStart
];
};
}