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

@@ -189,6 +189,10 @@ in
./computed-tags.nix
];
specialArgs = {
self = lib.mkDefault config.self;
};
# Ready to use configurations
# These are only shallow wrapping the 'nixosModules' or 'darwinModules' with
# lib.nixosSystem