mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 11:36:07 +01:00
modules, ...: get rid of config.build.arch
This commit is contained in:
parent
54a535b91b
commit
45fcd2da39
15 changed files with 67 additions and 54 deletions
|
|
@ -1,6 +1,7 @@
|
|||
# Copyright (c) 2019-2022, see AUTHORS. Licensed under MIT License, see LICENSE.
|
||||
# Copyright (c) 2019-2024, see AUTHORS. Licensed under MIT License, see LICENSE.
|
||||
|
||||
{ config ? null
|
||||
{ targetSystem ? builtins.currentSystem # system to compile for
|
||||
, config ? null
|
||||
, extraSpecialArgs ? { }
|
||||
, pkgs ? import <nixpkgs> { }
|
||||
, home-manager-path ? <home-manager>
|
||||
|
|
@ -17,7 +18,9 @@ let
|
|||
else if builtins.pathExists defaultConfigFile then defaultConfigFile
|
||||
else pkgs.config.nix-on-droid or (throw "No config file found! Create one in ~/.config/nixpkgs/nix-on-droid.nix");
|
||||
|
||||
nodModules = import ./module-list.nix { inherit pkgs home-manager-path isFlake; };
|
||||
nodModules = import ./module-list.nix {
|
||||
inherit pkgs home-manager-path isFlake targetSystem;
|
||||
};
|
||||
|
||||
rawModule = evalModules {
|
||||
modules = [ configModule ] ++ nodModules;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue