diff options
| author | seth <[email protected]> | 2023-09-01 17:15:15 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-09-01 17:20:46 -0400 |
| commit | 667b3855f2bd634809d44c534d260d70447d4fbb (patch) | |
| tree | d2f88585f55627806ac13a0587df97dac6a16023 /templates/default.nix | |
| parent | f7d4a40bc5a370c8fa77188f04e8c68cbc2e1f4a (diff) | |
templates/nixos: add nix.registry options
Diffstat (limited to 'templates/default.nix')
| -rw-r--r-- | templates/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/default.nix b/templates/default.nix index 30c5a5d..6ea1be4 100644 --- a/templates/default.nix +++ b/templates/default.nix @@ -1,9 +1,9 @@ -{self, ...}: { +{ flake = { templates = let # string -> string -> {} mkTemplate = name: description: { - path = "${self}/templates/${name}"; + path = ./${name}; inherit description; }; in { |
