From cbd5b66b89fba2ad23a9da7372cf916305efad1f Mon Sep 17 00:00:00 2001 From: Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> Date: Tue, 17 Sep 2024 10:12:18 +0530 Subject: Initial commit. --- flake.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 flake.nix (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..7824c4b --- /dev/null +++ b/flake.nix @@ -0,0 +1,26 @@ +{ + description = "Home Manager configuration of arpit"; + + inputs = { + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + home-manager = { + url = "github:nix-community/home-manager"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + stylix.url = "github:danth/stylix"; + }; + + outputs = { nixpkgs, home-manager, stylix, ... }: + let + system = "x86_64-linux"; + pkgs = nixpkgs.legacyPackages.${system}; + in { + homeConfigurations."arpit" = home-manager.lib.homeManagerConfiguration { + inherit pkgs; + modules = [ + ./home.nix + stylix.homeManagerModules.stylix + ]; + }; + }; +} -- cgit v1.2.3