Unverified Commit f1cc65ea authored by K900's avatar K900 Committed by GitHub
Browse files

Revert "nixos/auto-upgrade: fix for systems without initrd/kernel"

parent d3d42f40
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -123,8 +123,8 @@ in
        '';
        defaultText = lib.literalExpression ''
          [
            (config.system.build.initialRamdisk or null)
            (config.system.build.kernel or null)
            config.system.build.initialRamdisk
            config.system.build.kernel
            config.hardware.firmware
            (pkgs.writeTextFile {
              name = "kernel-params";
@@ -223,8 +223,8 @@ in
    {
      system = {
        autoUpgrade.rebootTriggers = [
          (config.system.build.initialRamdisk or null)
          (config.system.build.kernel or null)
          config.system.build.initialRamdisk
          config.system.build.kernel
          config.hardware.firmware
          (pkgs.writeTextFile {
            name = "kernel-params";