From a5d86176c65b59e73ba53a369fca75037fdc9adc Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Mon, 30 Jun 2025 17:58:54 -0500 Subject: [PATCH] simplified --- flake.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index 535b438..ede4d34 100644 --- a/flake.nix +++ b/flake.nix @@ -1,5 +1,5 @@ { - description = "Home Manager configuration of john"; + description = "Home Manager configuration flake for JSL"; inputs = { # Specify the source of Home Manager and Nixpkgs. @@ -10,8 +10,7 @@ }; }; - outputs = - { nixpkgs, home-manager, ... }: + outputs = { nixpkgs, home-manager, ... }: let system = "x86_64-linux"; pkgs = nixpkgs.legacyPackages.${system}; @@ -41,8 +40,8 @@ homeConfigurations.${userName} = mkHomeConfiguration userName; # Export the function so other flakes can create configurations for any user - lib = { mkHomeConfiguration = username: mkHomeConfiguration username; }; - + lib.mkHomeConfiguration = mkHomeConfiguration; + # Export modules for reuse in other flakes homeManagerModules.default = homeManagerModule; };