diff --git a/flake.nix b/flake.nix index a251ab0..4723855 100644 --- a/flake.nix +++ b/flake.nix @@ -48,6 +48,7 @@ # Usage in submodule: # { ... }@flakeArg: { } # add "..." this so new ones can easily be added + flake = self; # full flake reflection inherit # tools / shortcuts lib # nixpkgs & my lib combined diff --git a/nix/apps/default.nix b/nix/apps/default.nix index cb338ea..2b2811a 100644 --- a/nix/apps/default.nix +++ b/nix/apps/default.nix @@ -1,7 +1,7 @@ { + flake, inputs, lib, - self, ... }@flakeArg: { system, ... }@sysArg: @@ -12,6 +12,6 @@ assert lib.assertMsg (system == "x86_64-linux") '' secrix is currently only compatible with x86_64-linux ''; - inputs.secrix.secrix self; + inputs.secrix.secrix flake; }