diff options
author | Lassulus <github@lassul.us> | 2022-11-15 20:27:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-15 20:27:44 +0100 |
commit | c60f20ceffd9cd662aad8482dd1bdeed472d75c2 (patch) | |
tree | 2288702b7b12a533f4733fa82ef2f5fbe28c565d /README.md | |
parent | f22e2fa83464131a7a5f2efe9766befb3c8a9ddf (diff) | |
parent | a3bef46beb9c497582ae44efb06671c9df6c74c0 (diff) |
Merge pull request #56 from nix-community/cleanup
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 22 |
1 files changed, 14 insertions, 8 deletions
@@ -48,7 +48,8 @@ TODO: output of the cli --help You can use the NixOS module in one of the following ways: -### Flakes +<details> + <summary>Flakes (Current recommendation)</summary> If you use nix flakes support: @@ -70,9 +71,11 @@ If you use nix flakes support: }; } ``` - -### [niv](https://github.com/nmattia/niv) (Current recommendation) - First add it to niv: +</details> +<details> + <summary>niv</summary> + + First add it to [niv](https://github.com/nmattia/niv): ```console $ niv add nix-community/disko @@ -85,8 +88,9 @@ $ niv add nix-community/disko imports = [ "${(import ./nix/sources.nix).disko}/modules/disko.nix" ]; } ``` - -### nix-channel +</details> +<details> + <summary>nix-channel</summary> As root run: @@ -102,8 +106,9 @@ $ nix-channel --update imports = [ <disko/modules/disko.nix> ]; } ``` - -### fetchTarball +</details> +<details> + <summary>fetchTarball</summary> Add the following to your configuration.nix: @@ -129,6 +134,7 @@ $ nix-channel --update ]; } ``` +</details> ## Using the NixOS module |