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

ffa13af669afa60f3e5c5a269e7fbc35f5a11080 · 2.9 KB · 88 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/2fad6eac6077f03fe109c4d4eb171cf96791faa4";
7 home-manager = {
8 url = "github:nix-community/home-manager/780be8ef503a28939cf9dc7996b48ffb1a3e04c6";
9 inputs.nixpkgs.follows = "nixpkgs";
10 };
11 hyprlock = {
12 url = "github:hyprwm/hyprlock/v0.9.2";
13 inputs.nixpkgs.follows = "nixpkgs";
14 };
15 hyprpicker-git = {
16 url = "github:hyprwm/hyprpicker/v0.4.5";
17 inputs.nixpkgs.follows = "nixpkgs";
18 };
19 hyprland = {
20 url = "github:hyprwm/hyprland/v0.52.1";
21 inputs.nixpkgs.follows = "nixpkgs";
22 #inputs.hyprutils.url = "github:hyprwm/hyprutils/v0.6.0";
23 };
24 nixgl = {
25 url = "github:ryan77627/nixGL/3865170cbc23b32ec7cc8df1ec811fd44b6c2a58";
26 inputs.nixpkgs.follows = "nixpkgs";
27 };
28 wpaperd = {
29 url = "github:danyspin97/wpaperd/087a1edb5afd78434806f2f185755d0ced7f26ab";
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/85e6a93f311132d775538c4a016b637b366d2a44";
42 inputs.hyprland.follows = "hyprland";
43 inputs.nixpkgs.follows = "hyprland/nixpkgs";
44 };
45 zen-browser = {
46 url = "github:0xc000022070/zen-browser-flake/504383097cbd6793aa62d1ec2d90d67ce7e4542e";
47 inputs.nixpkgs.follows = "nixpkgs";
48 inputs.home-manager.follows = "home-manager";
49 };
50 };
51
52 outputs = { nixpkgs, home-manager, hyprland, nixgl, wpaperd, hyprpicker-git, hyprlock, mozff, clipboard-sync, hypr-dynamic-cursors, zen-browser, ... }@inputs:
53 let
54 system = "x86_64-linux";
55 pkgs = nixpkgs.legacyPackages.${system};
56 overlays = [
57 #zen-browser.homeModules
58 ];
59 in {
60 homeConfigurations."ryan" = home-manager.lib.homeManagerConfiguration {
61 inherit pkgs;
62
63 # Specify your home configuration modules here, for example,
64 # the path to your home.nix.
65 modules = [
66 {nixpkgs.overlays = overlays;}
67 ./home.nix
68 zen-browser.homeModules.beta
69 {
70 _module.args = {
71 inherit hyprland;
72 inherit nixgl;
73 inherit wpaperd;
74 inherit hyprlock;
75 inherit hyprpicker-git;
76 inherit mozff;
77 inherit clipboard-sync;
78 inherit hypr-dynamic-cursors;
79 };
80 }
81 ];
82
83 # Optionally use extraSpecialArgs
84 # to pass through arguments to home.nix
85 # extraSpecialArgs = { inherit overlays; };
86 };
87 };
88 }