diff options
| author | seth <[email protected]> | 2023-12-11 06:44:34 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-12-11 06:44:34 -0500 |
| commit | 8ac8de2593a9f5e3c160f95358b4db75d3a04640 (patch) | |
| tree | 9d37f6a1c6466ebf944d562dc03081354ed40f5d /users/default.nix | |
| parent | c99900f83de5f44797465845fe5ffb83efb286e0 (diff) | |
systems+seth: add inputs' to module.args; use flake for firefox addons
Diffstat (limited to 'users/default.nix')
| -rw-r--r-- | users/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/users/default.nix b/users/default.nix index c654583..8aaa0bb 100644 --- a/users/default.nix +++ b/users/default.nix @@ -1,5 +1,6 @@ { lib, + withSystem, inputs, self, ... @@ -22,7 +23,11 @@ ] ++ (args.modules or []); - extraSpecialArgs = {inherit inputs self;}; + extraSpecialArgs = { + inherit inputs self; + inputs' = withSystem (args.system or "x86_64-linux") ({inputs', ...}: inputs'); + }; + pkgs = args.pkgs or inputs.nixpkgs.legacyPackages."x86_64-linux"; }); |
