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