mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +01:00
use the same nixpkgs and home-manager
Co-authored-by: Tobias Happ <Gerschtli@users.noreply.github.com>
This commit is contained in:
parent
2fba450df0
commit
abf7f56cb6
3 changed files with 10 additions and 7 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright (c) 2019-2020, see AUTHORS. Licensed under MIT License, see LICENSE.
|
||||
|
||||
{ pkgs ? import <nixpkgs> { }, config ? null }:
|
||||
{ pkgs ? import <nixpkgs> { }, home-manager ? import <home-manager> { }, config ? null }:
|
||||
|
||||
with pkgs.lib;
|
||||
|
||||
|
|
@ -16,10 +16,11 @@ let
|
|||
rawModule = evalModules {
|
||||
modules = [
|
||||
{
|
||||
_module.args.home-manager = home-manager;
|
||||
_module.args.pkgs = mkDefault pkgs;
|
||||
}
|
||||
configModule
|
||||
] ++ import ./module-list.nix;
|
||||
] ++ import ./module-list.nix { inherit pkgs; };
|
||||
};
|
||||
|
||||
failedAssertions = map (x: x.message) (filter (x: !x.assertion) rawModule.config.assertions);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue