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
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:
parent
d2e0858e28
commit
1e39a2319f
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue