• Laser@feddit.de
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    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
      ·
      11 months ago

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