cleaning up specialArgs

This commit is contained in:
Gerg-L 2023-02-23 20:28:46 -05:00
parent 3befa64d21
commit 3d8dd7c92c
5 changed files with 9 additions and 17 deletions

View file

@ -1,9 +1,4 @@
{
nix,
unstable,
...
}: {
inputs,
inputs: {
lib,
self,
settings,
@ -26,12 +21,12 @@
inputs
)
// {
nixpkgs.flake = unstable;
nixpkgs.flake = inputs.unstable;
system.flake = self;
}
);
#automatically add registry entries to nixPath
nixPath = (lib.mapAttrsToList (name: value: name + "=" + value) inputs) ++ ["system=${self}" "nixpkgs=${unstable}"];
nixPath = (lib.mapAttrsToList (name: value: name + "=" + value) inputs) ++ ["system=${self}" "nixpkgs=${inputs.unstable}"];
settings = {
experimental-features = ["nix-command" "flakes" "repl-flake"];
auto-optimise-store = true;