From cb0d4e7713cab8acf40cea6fe776f257b774e35c Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Mon, 30 Jun 2025 15:00:44 -0500 Subject: [PATCH] working updates --- flake.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/flake.nix b/flake.nix index 1a5db45..a8085fc 100644 --- a/flake.nix +++ b/flake.nix @@ -22,7 +22,6 @@ options.user = lib.mkOption { type = lib.types.str; description = "The username for the Home Manager configuration."; - # default = "john"; }; }; @@ -49,16 +48,18 @@ # Export the function so other flakes can create configurations for any user lib = { - mkHomeConfiguration = mkHomeConfiguration; - mkHomeConfigurationForUser = username: mkHomeConfiguration username; + mkHomeConfiguration = username: mkHomeConfiguration username; }; # Export modules for reuse in other flakes homeManagerModules = { - default = { ... }: { - inherit pkgs; - modules = [ ./home.nix optionsModule ]; - }; + default = ./home.nix; + options-module = optionsModule; + }; + + # Export packages if you have any custom ones + packages.${system} = { + # Add any custom packages here }; }; }