• Laser@feddit.de
    link
    fedilink
    arrow-up
    2
    ·
    1 年前

    When not using flakes, nixos-rebuild switch --upgrade is equivalent to apt update; apt upgrade. The equivalent to dist-upgrade is nix-channel add $NEW-CHANNEL-URL nixos and then performing a regular update.

    • λλλ@programming.dev
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      1 年前

      Thanks. I’ve done switch many times after editing my config file. I’ve never added --upgrade!