From fcc60b84e5e3cc44986d40af63f5de488caae909 Mon Sep 17 00:00:00 2001 From: seth Date: Sat, 3 Feb 2024 19:27:26 -0500 Subject: make everything a module --- modules/flake/configurations.nix | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'modules/flake/configurations.nix') diff --git a/modules/flake/configurations.nix b/modules/flake/configurations.nix index ef1ae4e..314e85f 100644 --- a/modules/flake/configurations.nix +++ b/modules/flake/configurations.nix @@ -1,9 +1,7 @@ { config, lib, - withSystem, inputs, - self, ... }: let namespace = "configurations"; @@ -46,8 +44,7 @@ // { modules = args.modules ++ [../../systems/${name} {networking.hostName = name;}]; specialArgs = { - inherit inputs self; - inputs' = withSystem args.system ({inputs', ...}: inputs'); + inherit inputs; secretsDir = ../../secrets/${name}; }; } @@ -70,10 +67,7 @@ ] ++ args.modules; - extraSpecialArgs = { - inherit inputs self; - inputs' = withSystem args.pkgs.system ({inputs', ...}: inputs'); - }; + extraSpecialArgs = {inherit inputs;}; }); mapSystems = type: mapAttrs (name: _: mkSystem type name) cfg.${type}.systems; -- cgit v1.2.3