From 3f66f74ea5583becfdf16d0dcedddefc3cc97a30 Mon Sep 17 00:00:00 2001 From: Lite Ye Date: Sat, 23 Mar 2024 10:13:06 -0400 Subject: [PATCH] Follow the new schema for default nixosModule and darwinModule --- flake-module.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake-module.nix b/flake-module.nix index cb578b0..3b642da 100644 --- a/flake-module.nix +++ b/flake-module.nix @@ -232,9 +232,9 @@ toplevel @ { else hostConfig.hostModule; homeManagerSystemModule = if hostPlatform.isLinux - then cfg.homeManagerFlake.nixosModule + then cfg.homeManagerFlake.nixosModules.default else if hostPlatform.isDarwin - then cfg.homeManagerFlake.darwinModule + then cfg.homeManagerFlake.darwinModules.default else throw "System type ${hostPlatform.system} not supported."; specialArgs = { inherit inputs hostPlatform;