nix-config/tests
Donovan Glover 59f557a3e5
feat: Pass nix-config as self to avoid infinite recursion
This change makes it possible to use this nix-config in all the
different ways imaginable (containers, bare metal, tests, and as a
separate flake input) *without* running into infinite recursion
issues with self.

It does this by using a trick similar to JavaScript in which
`var self = this;`, thus enabling the usage of "this" (or self, in
Nix's case) where it wouldn't otherwise be possible.

Note that this *only* works if the input for this repository is named
nix-config. This makes it impractical to combine with multiple
configurations that employ the same strategy.
2024-04-05 10:20:06 -04:00
..
hyprland.nix feat: Simplify imports by importing with specialArgs 2024-04-05 09:37:30 -04:00
lib.nix feat: Pass nix-config as self to avoid infinite recursion 2024-04-05 10:20:06 -04:00
neovim.nix feat: Simplify imports by importing with specialArgs 2024-04-05 09:37:30 -04:00