Disko: Difference between revisions
Marked this version for translation |
m 1) remove unneded sudo: `#` implies sudo 2) fix broken {{file}} template: i see broken {{file}} usage with `|name=|lang=` unusually often...what causes that? |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 2: | Line 2: | ||
<translate> | <translate> | ||
<!--T:1--> | <!--T:1--> | ||
[https://github.com/nix-community/disko Disko] is a utility and NixOS module for declarative disk partitioning. | <strong>[https://github.com/nix-community/disko Disko]</strong> is a utility and [[NixOS modules|NixOS module]] for declarative disk partitioning. | ||
<!--T:2--> | <!--T:2--> | ||
| Line 62: | Line 62: | ||
<!--T:6--> | <!--T:6--> | ||
<syntaxhighlight lang="console"> | <syntaxhighlight lang="console"> | ||
# | # 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"> | ||
# | # 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 130: | Line 130: | ||
</translate> | </translate> | ||
[[Category:Filesystem{{#translation:}}]] | [[Category:Filesystem{{#translation:}}]] | ||
[[Category:Deployment]] | |||