Improve documentation
All checks were successful
checks / check-links (pull_request) Successful in 14s
checks / checks-impure (pull_request) Successful in 1m50s
checks / checks (pull_request) Successful in 3m58s

This commit is contained in:
Luis Hebendanz 2024-04-06 12:34:49 +02:00
parent 91dddc2281
commit 6d8d211968
4 changed files with 12 additions and 6 deletions

View File

@ -83,13 +83,14 @@ Transitioning your existing setup to Clan Core is straightforward with these det
```nix
outputs = { self, nixpkgs, clan-core }:
let clan = clan-core.lib.buildClan {
specialArgs = { }; # Add arguments to every nix import in here
directory = self; # Point this to the repository root.
clanName = "__CHANGE_ME__"; # Ensure this is internet wide unique.
machines = {
jons-desktop = {
nixpkgs.hostPlatform = "x86_64-linux";
imports = [
clan-core.clanModules.sshd ## Add openssh server for clan management
clan-core.clanModules.sshd # Add openssh server for clan management
./machines/jons-desktop/configuration.nix
];
};
@ -186,12 +187,16 @@ such as the platform and specific Nix configurations. Update your `flake.nix` li
inputs.clan-core.flakeModules.default
];
clan = {
specialArgs = { }; # Add arguments to every nix import in here
clanName = "__CHANGE_ME__"; # Ensure this is internet wide unique.
directory = inputs.self;
machines = {
jons-desktop = {
nixpkgs.hostPlatform = "x86_64-linux";
imports = [ ./configuration.nix ];
imports = [
clan-core.clanModules.sshd # Add openssh server for clan management
./configuration.nix
];
};
};
};

View File

@ -9,6 +9,7 @@
system = "x86_64-linux";
pkgs = clan-core.inputs.nixpkgs.legacyPackages.${system};
clan = clan-core.lib.buildClan {
specialArgs = { }; # Add arguments to every nix import in here
directory = self;
clanName = "__CHANGE_ME__"; # Ensure this is internet wide unique.
machines = {

View File

@ -1,4 +1,4 @@
{config, clan, lib, pkgs, ...}:
{ ... }:
{
}
}

View File

@ -1,4 +1,4 @@
{config, clan, lib, pkgs, ...}:
{ ... }:
{
}
}