Disko: Difference between revisions

m Minor formatting, in-link.
Reference the `latest` tag of the disko GitHub repo instead of the master branch, as shown in Disko's documentation: https://github.com/nix-community/disko/blob/master/docs/HowTo.md. This has been recommended in the documentation since 2024: https://github.com/nix-community/disko/commit/c7ef3964b6befa877e76316ae88f3ef251cae573.
 
Line 62: Line 62:
<!--T:6-->
<!--T:6-->
<syntaxhighlight lang="console">
<syntaxhighlight lang="console">
# sudo nix run github:nix-community/disko -- --mode disko ./disko-config.nix
# sudo nix run github:nix-community/disko/latest -- --mode disko ./disko-config.nix
</syntaxhighlight>
</syntaxhighlight>


Line 70: Line 70:
<!--T:8-->
<!--T:8-->
<syntaxhighlight lang="console">
<syntaxhighlight lang="console">
# sudo nix run github:nix-community/disko -- --mode disko --flake github:Lassulus/flakes-testing#fnord
# sudo nix run github:nix-community/disko/latest -- --mode disko --flake github:Lassulus/flakes-testing#fnord
</syntaxhighlight>
</syntaxhighlight>


Line 102: Line 102:
   inputs = {
   inputs = {
     nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
     nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
     disko.url = "github:nix-community/disko";
     disko.url = "github:nix-community/disko/latest";
     disko.inputs.nixpkgs.follows = "nixpkgs";
     disko.inputs.nixpkgs.follows = "nixpkgs";
   };
   };
Line 122: Line 122:
   };
   };
}
}
</nowiki>}}
</nowiki>|name=|lang=}}
<translate>
<translate>