Commit graph

17 commits

Author SHA1 Message Date
Daniel Kahlenberg
c16cb917d7 Export pkgs
See @Gerschtli's suggestion in https://github.com/t184256/nix-on-droid/discussions/226#discussioncomment-4220726
2022-11-24 15:32:35 +01:00
Tobias Happ
a99c1e0416 simplify usage of lib.nixOnDroidConfiguration 2022-11-08 20:29:52 +01:00
Tobias Happ
d68467d679 split _module.args and specialArgs
specialArgs are evaluated earlier and can therefore used in imports in
the module system. This is the difference in comparison to _module.args.
2022-11-08 20:29:52 +01:00
Tobias Happ
a5ed8b213f treewide: apply statix fixes 2022-10-04 00:43:13 +02:00
Tobias Happ
7d1ed0fbaa treewide: apply nixpkgs-fmt 2022-10-04 00:43:13 +02:00
Tobias Happ
403336d4c4 modules: introduce more arguments at top-level 2021-12-15 22:04:43 +01:00
Zhaofeng Li
74ff681bc9 Rename home-manager argument to home-manager-path 2021-12-12 02:16:59 +01:00
Zhaofeng Li
b1086df532 modules: Accept a path-like for home-manager
We don't actually use the initialized attrset for anything
other than its path.
2021-12-12 02:16:59 +01:00
Tobias Happ
8972fbf3da nixpkgs: always provide the option definitions
This allows evaluation of configurations where nixpkgs.* options are
used even when in a flake setup with unchanged default values.
2021-12-11 22:44:53 +01:00
lucasew
d0b83e6397 expose options
Signed-off-by: lucasew <lucas59356@gmail.com>
2021-11-19 22:17:23 +01:00
Bruno Bigras
9c7c0a9672 add flake.nix
Co-authored-by: Tobias Happ <Gerschtli@users.noreply.github.com>
2021-01-17 18:06:46 +01:00
Bruno Bigras
abf7f56cb6 use the same nixpkgs and home-manager
Co-authored-by: Tobias Happ <Gerschtli@users.noreply.github.com>
2021-01-17 18:06:46 +01:00
Tobias Happ
7e6946c627 Add nixpkgs.config and overlays option 2020-01-12 20:33:03 +01:00
Alexander Sosedkin
ad7345897f Relicense to MIT License
Fixes: https://github.com/t184256/nix-on-droid-bootstrap/issues/44
2020-01-09 22:04:22 +01:00
Tobias Happ
daf69b959d Add --file argument for nix-on-droid 2020-01-08 01:29:18 +01:00
Tobias Happ
41e39deaec Simplify return value of modules/default.nix 2020-01-04 00:54:01 +01:00
Tobias Happ
f40362898a Add modules 2020-01-04 00:54:01 +01:00