add inputs to specialArgs and make templates use it.

This commit is contained in:
Jörg Thalheim
2025-05-30 19:22:32 +02:00
parent 8cb6424504
commit 00984ec581
5 changed files with 23 additions and 15 deletions

View File

@@ -1,7 +1,14 @@
{ clan-core, ... }:
{
clan-core,
# Optional, if you want to access other flakes:
# self,
...
}:
{
imports = [
clan-core.clanModules.sshd
clan-core.clanModules.root-password
# You can access other flakes imported in your flake via `self` like this:
# self.inputs.nix-index-database.nixosModules.nix-index
];
}