From a1f5024fde7bd61bc788f7d80cceafb5798171aa Mon Sep 17 00:00:00 2001 From: a-kenji Date: Sun, 14 Apr 2024 14:23:11 +0200 Subject: [PATCH] documenation: improve flake-parts --- docs/site/getting-started/flake-parts.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/site/getting-started/flake-parts.md b/docs/site/getting-started/flake-parts.md index 5743a335..9b4fe2ff 100644 --- a/docs/site/getting-started/flake-parts.md +++ b/docs/site/getting-started/flake-parts.md @@ -1,12 +1,12 @@ # Clan with `flake-parts` -Clan supports integration with [flake.parts](https://flake.parts/) a tool which allows modular compositions. +Clan supports integration with [flake.parts](https://flake.parts/) a tool which allows composing nixos modules in a modular way. -Here's how to set up Clan using flakes and flake-parts. +Here's how to set up Clan using `nix flakes` and `flake-parts`. ## 1. Update Your Flake Inputs -To begin, you'll need to add `flake-parts` as a new dependency in your flake's inputs. This is alongside the already existing dependencies, such as `flake-parts` and `nixpkgs`. Here's how you can update your `flake.nix` file: +To begin, you'll need to add `flake-parts` as a new dependency in your flake's inputs. This is alongside the already existing dependencies, such as `clan-core` and `nixpkgs`. Here's how you can update your `flake.nix` file: ```nix # flake.nix @@ -90,4 +90,4 @@ With your flake created, explore how to add new machines by reviewing the docume * How do I use Clan machines install to setup my current machine? * I probably need the clan-core sshd module for that? -* We need to tell them that configuration.nix of a machine NEEDS to be under the directory CLAN_ROOT/machines/ I think? \ No newline at end of file +* We need to tell them that configuration.nix of a machine NEEDS to be under the directory CLAN_ROOT/machines/ I think?