templates: unify specialArgs across examples
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
inputs.nixpkgs.follows = "clan-core/nixpkgs";
|
||||
|
||||
outputs =
|
||||
{ self, clan-core, ... }:
|
||||
{ self, clan-core, ... } @ inputs:
|
||||
let
|
||||
# Usage see: https://docs.clan.lol
|
||||
clan = clan-core.clanLib.buildClan {
|
||||
@@ -11,6 +11,12 @@
|
||||
# Ensure this is unique among all clans you want to use.
|
||||
meta.name = "__CHANGE_ME__";
|
||||
|
||||
# This makes flake inputs available in NixOS modules.
|
||||
specialArgs = {
|
||||
self = self;
|
||||
inputs = inputs;
|
||||
};
|
||||
|
||||
# All machines in ./machines will be imported.
|
||||
|
||||
# Prerequisite: boot into the installer.
|
||||
|
||||
Reference in New Issue
Block a user