diff --git a/.envrc b/.envrc deleted file mode 100644 index 3550a30..0000000 --- a/.envrc +++ /dev/null @@ -1 +0,0 @@ -use flake diff --git a/flake.nix b/flake.nix index 929e34f..f46e355 100644 --- a/flake.nix +++ b/flake.nix @@ -20,14 +20,14 @@ # module parameters provide easy access to attributes of the same # system. - # Equivalent to inputs'.nixpkgs.legacyPackages.hello; - packages.default = pkgs.hello; + packages.lib = import ./lib.nix { inherit pkgs; }; }; flake = { # The usual flake attributes can be defined here, including system- # agnostic ones like nixosModule and system-enumerating ones, although # those are more easily expressed in perSystem. + lib = import ./lib.nix; }; }; }