aboutsummaryrefslogtreecommitdiffstats
path: root/flake.nix
blob: 7824c4b0c71bbda4c71da47ed5c2d6d056c57783 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
				];
			};
		};
}