diff options
| author | seth <[email protected]> | 2024-11-27 22:53:28 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2024-11-27 22:53:28 -0500 |
| commit | d1f9487f17f2813c82828eace446a846441d141d (patch) | |
| tree | 21ef49e1c4dabb38e414a5a9a28184c7b569ce38 /lib/builders.nix | |
| parent | deefe3300ac6c571ccdb7bcb5e5a73b5c27b7700 (diff) | |
lib: drop builders
Diffstat (limited to 'lib/builders.nix')
| -rw-r--r-- | lib/builders.nix | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/lib/builders.nix b/lib/builders.nix deleted file mode 100644 index 3cedb59..0000000 --- a/lib/builders.nix +++ /dev/null @@ -1,66 +0,0 @@ -{ - lib, - inputs, - self, - ... -}: -{ - nixosSystem = - { - nixpkgs ? inputs.nixpkgs, - specialArgs ? { }, - ... - }@args: - nixpkgs.lib.nixosSystem ( - lib.removeAttrs args [ "nixpkgs" ] - // { - specialArgs = specialArgs // { - inherit inputs; - }; - } - ); - - darwinSystem = - { - nix-darwin ? inputs.nix-darwin or inputs.darwin, - specialArgs ? { }, - ... - }@args: - nix-darwin.lib.darwinSystem ( - lib.removeAttrs args [ "nix-darwin" ] - // { - specialArgs = specialArgs // { - inherit inputs; - }; - } - ); - - homeManagerConfiguration = - { - extraSpecialArgs ? { }, - ... - }@args: - inputs.home-manager.lib.homeManagerConfiguration ( - args - // { - extraSpecialArgs = extraSpecialArgs // { - inherit inputs; - }; - } - ); - - mkModule = - { - name, - type, - imports, - }@args: - { - _file = "${self.outPath}/flake.nix#${type}Modules.${name}"; - inherit imports; - } - // lib.removeAttrs args [ - "name" - "type" - ]; -} |
