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 [
{