aboutsummaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
authorArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-11-28 00:01:27 +0530
committerArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-11-28 00:01:27 +0530
commit170461002890d55718618bec64feaa8856c3a6d4 (patch)
tree39828106660958fc9de2c8c8d1fc972c8e2320cb /flake.nix
parent547bf872cbf85f4718576e1ac3a0eab094ccd26a (diff)
downloadhome-manager-config-170461002890d55718618bec64feaa8856c3a6d4.tar.gz
home-manager-config-170461002890d55718618bec64feaa8856c3a6d4.zip
Organised the configuration to allow for different options for different users.
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix15
1 files changed, 8 insertions, 7 deletions
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 @@
];
};
};
+ };
}