feat: add lib to flake

main
Moritz Böhme 2024-01-14 14:28:02 +01:00
parent 7183e36b26
commit c528f523c4
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
2 changed files with 2 additions and 3 deletions

1
.envrc
View File

@ -1 +0,0 @@
use flake

View File

@ -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;
};
};
}