• chonkyninja@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    12 days ago

    Write a flake.nix

    Most of whatever you have should be simple to include with one line of code.

    Then once you’re using a flake, updates are as simple as “nix flake update” and “nixos-rebuild boot --flake .

    • axEl7fB5@lemmy.cafe
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      And also updating inputs.nixpkgs.url from github:nixos/nixpkgs/nixos-24.11 to github:nixos/nixpkgs/nixos-25.05.