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

d465e92647470759177cb63914fd3571cea7a8a4 · 2.9 KB · 87 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/a84ebe20c6bc2ecbcfb000a50776219f48d134cc";
7 home-manager = {
8 url = "github:nix-community/home-manager/693840c01b9bef9e54100239cef937e53d4661bf";
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.48.0";
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 clipboard-sync = {
37 url = "github:dnut/clipboard-sync/943e49e0a9a16b54bbab3704e99b6cf6ad4ea19f";
38 inputs.nixpkgs.follows = "nixpkgs";
39 };
40 hypr-dynamic-cursors = {
41 url = "github:VirtCode/hypr-dynamic-cursors/fd6214629937949ecd8a39f4b5ebbce2afac0dd5";
42 inputs.hyprland.follows = "hyprland";
43 inputs.nixpkgs.follows = "hyprland/nixpkgs";
44 };
45 zen-browser = {
46 url = "github:0xc000022070/zen-browser-flake/bef72020b20475847f24cd27134dca06724d4ba7";
47 inputs.nixpkgs.follows = "nixpkgs";
48 };
49 };
50
51 outputs = { nixpkgs, home-manager, hyprland, nixgl, wpaperd, hyprpicker-git, hyprlock, mozff, clipboard-sync, hypr-dynamic-cursors, zen-browser, ... }@inputs:
52 let
53 system = "x86_64-linux";
54 pkgs = nixpkgs.legacyPackages.${system};
55 overlays = [
56 #nixgl.overlay
57 ];
58 in {
59 homeConfigurations."ryan" = home-manager.lib.homeManagerConfiguration {
60 inherit pkgs;
61
62 # Specify your home configuration modules here, for example,
63 # the path to your home.nix.
64 modules = [
65 {nixpkgs.overlays = overlays;}
66 ./home.nix
67 {
68 _module.args = {
69 inherit hyprland;
70 inherit nixgl;
71 inherit wpaperd;
72 inherit hyprlock;
73 inherit hyprpicker-git;
74 inherit mozff;
75 inherit clipboard-sync;
76 inherit hypr-dynamic-cursors;
77 inherit zen-browser;
78 };
79 }
80 ];
81
82 # Optionally use extraSpecialArgs
83 # to pass through arguments to home.nix
84 # extraSpecialArgs = { inherit overlays; };
85 };
86 };
87 }