Merge pull request #293720 from vkleen/fix/systemd-boot-random-seed

nixos/systemd: Only include systemd-boot-random-seed if the unit exists

authored by Will Fancher and committed by GitHub f592a7ea fd668bb4

+3 -3
+1 -1
nixos/modules/system/boot/systemd.nix
··· 97 97 98 98 # Maintaining state across reboots. 99 99 "systemd-random-seed.service" 100 - "systemd-boot-random-seed.service" 100 + ] ++ (optional cfg.package.withBootloader "systemd-boot-random-seed.service") ++ [ 101 101 "systemd-backlight@.service" 102 102 "systemd-rfkill.service" 103 103 "systemd-rfkill.socket"
+2 -2
pkgs/os-specific/linux/systemd/default.nix
··· 856 856 # needed - and therefore `interfaceVersion` should be incremented. 857 857 interfaceVersion = 2; 858 858 859 - inherit withCryptsetup withHostnamed withImportd withKmod withLocaled 860 - withMachined withPortabled withTimedated withUtmp util-linux kmod kbd; 859 + inherit withBootloader withCryptsetup withHostnamed withImportd withKmod 860 + withLocaled withMachined withPortabled withTimedated withUtmp util-linux kmod kbd; 861 861 862 862 tests = { 863 863 inherit (nixosTests)