home-config/nix-home-manager/flake.nix

b64aeaac7a6316181e8cec7eb7530c08fb9eca41 · 2.2 KB · 71 lines raw

1 {
2 description = "Home Manager configuration of ryan";
3
4 inputs = {
5 # Specify the source of Home Manager and Nixpkgs.
6 nixpkgs.url = "github:nixos/nixpkgs/d74a2335ac9c133d6bbec9fc98d91a77f1604c1f";
7 home-manager = {
8 url = "github:nix-community/home-manager/53c587d263f94aaf6a281745923c76bbec62bcf3";
9 inputs.nixpkgs.follows = "nixpkgs";
10 };
11 hyprlock = {
12 url = "github:hyprwm/hyprlock/v0.6.2";
13 inputs.nixpkgs.follows = "nixpkgs";
14 };
15 hyprpicker-git = {
16 url = "github:hyprwm/hyprpicker/c3777320b358bb28a0f2112441377fe452d77ea8";
17 inputs.nixpkgs.follows = "nixpkgs";
18 };
19 hyprland = {
20 url = "github:hyprwm/hyprland/v0.47.2";
21 inputs.nixpkgs.follows = "nixpkgs";
22 #inputs.hyprutils.url = "github:/hyprwm/hyprutils/6a8bc9d2a4451df12f5179dc0b1d2d46518a90ab";
23 };
24 nixgl = {
25 url = "github:ryan77627/nixGL/3865170cbc23b32ec7cc8df1ec811fd44b6c2a58";
26 inputs.nixpkgs.follows = "nixpkgs";
27 };
28 wpaperd = {
29 url = "github:danyspin97/wpaperd/b0b7e66fd32dca36c431a174784a2e87af7edb77";
30 inputs.nixpkgs.follows = "nixpkgs";
31 };
32 mozff = {
33 url = "github:nix-community/flake-firefox-nightly/3391372604cd3def19e6df88a51f1882aabcd59f";
34 inputs.nixpkgs.follows = "nixpkgs";
35 };
36 };
37
38 outputs = { nixpkgs, home-manager, hyprland, nixgl, wpaperd, hyprpicker-git, hyprlock, mozff, ... }@inputs:
39 let
40 system = "x86_64-linux";
41 pkgs = nixpkgs.legacyPackages.${system};
42 overlays = [
43 #nixgl.overlay
44 ];
45 in {
46 homeConfigurations."ryan" = home-manager.lib.homeManagerConfiguration {
47 inherit pkgs;
48
49 # Specify your home configuration modules here, for example,
50 # the path to your home.nix.
51 modules = [
52 {nixpkgs.overlays = overlays;}
53 ./home.nix
54 {
55 _module.args = {
56 inherit hyprland;
57 inherit nixgl;
58 inherit wpaperd;
59 inherit hyprlock;
60 inherit hyprpicker-git;
61 inherit mozff;
62 };
63 }
64 ];
65
66 # Optionally use extraSpecialArgs
67 # to pass through arguments to home.nix
68 # extraSpecialArgs = { inherit overlays; };
69 };
70 };
71 }