From 3ebd030fecb56d0712a52c2f6a092cff4d2834dc Mon Sep 17 00:00:00 2001 From: NullBite Date: Tue, 23 Jan 2024 22:35:26 +0100 Subject: [PATCH] Set default root module to ./home/root.nix --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 686575d..f570e90 100644 --- a/flake.nix +++ b/flake.nix @@ -53,7 +53,7 @@ # This function produces a module that adds the home-manager module to the # system and configures the given module to the user's Home Manager # configuration - homeManagerInit = {system, username ? _username , module ? _ : {}, rootModule ? _:{}, userModules ? { ${username} = [ module ] ; root = [ rootModule ]; }, stateVersion }: + homeManagerInit = {system, username ? _username , module ? _ : {}, rootModule ? (import ./home/root.nix), userModules ? { ${username} = [ module ] ; root = [ rootModule ]; }, stateVersion }: { config, lib, pkgs, ... }: let mapUserModules = lib.attrsets.mapAttrs (user: modules: {...}: