mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 11:36:07 +01:00
simplify usage of lib.nixOnDroidConfiguration
This commit is contained in:
parent
d68467d679
commit
a99c1e0416
10 changed files with 43 additions and 30 deletions
|
|
@ -1,7 +1,6 @@
|
|||
# Copyright (c) 2019-2022, see AUTHORS. Licensed under MIT License, see LICENSE.
|
||||
|
||||
{ config ? null
|
||||
, extraModules ? [ ]
|
||||
, extraSpecialArgs ? { }
|
||||
, pkgs ? import <nixpkgs> { }
|
||||
, home-manager-path ? <home-manager>
|
||||
|
|
@ -21,7 +20,7 @@ let
|
|||
nodModules = import ./module-list.nix { inherit pkgs home-manager-path isFlake; };
|
||||
|
||||
rawModule = evalModules {
|
||||
modules = [ configModule ] ++ extraModules ++ nodModules;
|
||||
modules = [ configModule ] ++ nodModules;
|
||||
specialArgs = extraSpecialArgs;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue