From 170461002890d55718618bec64feaa8856c3a6d4 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> Date: Fri, 28 Nov 2025 00:01:27 +0530 Subject: Organised the configuration to allow for different options for different users. --- flake.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 85a123c..670de5f 100644 --- a/flake.nix +++ b/flake.nix @@ -14,15 +14,15 @@ }; }; - outputs = { nixpkgs, home-manager, base16, ... }@inputs: - let - system = "x86_64-linux"; - pkgs = nixpkgs.legacyPackages.${system}; - in { - homeConfigurations."arpit" = home-manager.lib.homeManagerConfiguration { + outputs = { nixpkgs, home-manager, base16, ... }@inputs: { + homeConfigurations = { + arpit = let + system = "x86_64-linux"; + pkgs = import nixpkgs { inherit system; }; + in home-manager.lib.homeManagerConfiguration { inherit pkgs; modules = [ - ./home.nix + ./users/arpit.nix ./modules base16.homeManagerModule { @@ -31,4 +31,5 @@ ]; }; }; + }; } -- cgit v1.2.3