1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-18 12:38:30 +02:00

Move integration-common.nix to nixos/common.nix

This commit is contained in:
Naïm Favier 2022-06-16 12:26:57 +02:00 committed by Robert Helgesson
parent 69e804839e
commit 586ac1fd58
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89
3 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@ let
cfg = config.home-manager;
in {
imports = [ ../integration-common.nix ];
imports = [ ../nixos/common.nix ];
config = mkMerge [
{ home-manager.extraSpecialArgs.darwinConfig = config; }

View File

@ -9,17 +9,17 @@ let
cfg = config.home-manager;
extendedLib = import ./modules/lib/stdlib-extended.nix pkgs.lib;
extendedLib = import ../modules/lib/stdlib-extended.nix pkgs.lib;
hmModule' = types.submoduleWith {
specialArgs = {
lib = extendedLib;
osConfig = config;
modulesPath = builtins.toString ./modules;
modulesPath = builtins.toString ../modules;
} // cfg.extraSpecialArgs;
modules = [
({ name, ... }: {
imports = import ./modules/modules.nix {
imports = import ../modules/modules.nix {
inherit pkgs;
lib = extendedLib;
useNixpkgsModule = !cfg.useGlobalPkgs;

View File

@ -11,7 +11,7 @@ let
} // optionalAttrs cfg.verbose { VERBOSE = "1"; };
in {
imports = [ ../integration-common.nix ];
imports = [ ./common.nix ];
config = mkMerge [
{