Commit Graph

8 Commits

Author SHA1 Message Date
mayl
e610a931ac
adds nixosGenerate function (#119)
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2021-11-20 07:35:59 +00:00
David Arnold
5bde0c8b9e
nixpkgs.lib is now in nix-community 2021-06-23 12:16:33 -05:00
David Arnold
cbfb6691f7
For module-only consumers, avoid depending on nixpkgs
This seems odd, but it works since input dependencies are lazily fetched
that means a downstream repo, that only consumes the modules output
(like for example `divnix/digga`), does never fetch nor instantiate
nixpkgs proper (which would be costly).

This enables `divnix/digga` to continue to _not_ depend on `nixpkgs`
for operation.

(it still depends on `nixpkgs` as a strict development dependency, but
beacause of the black magic which I describe above, no end user
will ever fetch it's depenency on `nixpkgs`.

So, here, we want to implement a similar trick to avoid acquireing deps
where they should net be acquired.
2021-06-20 15:58:36 -05:00
Pacman99
afab4671b8 flake: export formats as nixosModules 2021-06-08 18:48:30 -07:00
Jörg Thalheim
a62078b0da
flake.nix: remove invalid nixosConfigurations
This breaks `nix flake show`. It's not quite clear to me why this is
needed in packages.
2021-02-10 09:16:24 +01:00
Jörg Thalheim
c239d0de25
bump nixpkgs
also make branch explicit, otherwise updates depends on user's /etc/nix/registry.json
2021-02-10 09:11:53 +01:00
jD91mZM2
9a8e56a767
Implement support for flakes 2020-10-23 18:16:09 +02:00
jD91mZM2
f8b23a0dd6
Create flake.nix 2020-10-23 16:48:17 +02:00