Commit Graph

19 Commits

Author SHA1 Message Date
Felix Buehler
aaaa4a080e fix deprecation message 2023-03-03 20:51:31 +01:00
Lassulus
1e0a05219f
Merge pull request #201 from mayl/custom_formats
Custom formats
2023-02-13 19:47:41 +05:30
Oleg Lebedev
b7ed622972
Add aarch64-darwin support 2023-02-11 10:19:09 +11:00
Larry May
5336fdf53d eliminates unnecessary recursion 2023-01-05 20:46:11 -05:00
Larry May
a5b82accc8 enables custom formats with the nixosGenerate function 2023-01-05 20:44:30 -05:00
Gabriel Arazas
d8db0197da nixosGenerate: add lib parameter 2022-11-20 10:27:35 +08:00
lassulus
aec022bf7e flake: use nixos-generate to silence warnings 2022-10-26 21:33:45 +02:00
David Arnold
d53f2d9aff
refactor: fix erroneus package naming 2022-10-23 14:32:59 -05:00
Alan Strohm
f561d89270 nixosGenerate: allow and suggest leaving pkgs set to null 2022-08-12 21:04:56 -07:00
Matt Schreiber
8feb8faa17
Nix >= 2.7 app.<system>.default compat 2022-06-10 20:33:14 -04:00
Alan Strohm
e22916ec84 pass specialArgs through to nixosSystem 2022-04-21 09:43:21 -07:00
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