summaryrefslogtreecommitdiff
path: root/modules/flake/configurations.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2024-02-03 19:27:26 -0500
committerseth <[email protected]>2024-02-03 20:47:55 -0500
commitfcc60b84e5e3cc44986d40af63f5de488caae909 (patch)
tree45f4455c7dcbc63e59e62a9af79783e2e5509a2e /modules/flake/configurations.nix
parentde003fa28e56b81a33e831099987cd94d2f53b39 (diff)
make everything a module
Diffstat (limited to 'modules/flake/configurations.nix')
-rw-r--r--modules/flake/configurations.nix10
1 files changed, 2 insertions, 8 deletions
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;