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

a4b3154417d4604e18b1ad0ade3d248f5505bebd · 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/d3d2d80a2191a73d1e86456a751b83aa13085d7d";
7 home-manager = {
8 url = "github:nix-community/home-manager/e9763eb195c1e3d508892993cf112bd75d6fd712";
9 inputs.nixpkgs.follows = "nixpkgs";
10 };
11 hyprlock = {
12 url = "github:hyprwm/hyprlock/v0.8.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.49.0";
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/37e4504b80d36395b7847ef2e3468e6a75d2a9ad";
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/761acf0e602e0f6549e5e6c0289a0402e6073489";
42 inputs.hyprland.follows = "hyprland";
43 inputs.nixpkgs.follows = "hyprland/nixpkgs";
44 };
45 zen-browser = {
46 url = "github:0xc000022070/zen-browser-flake/4cbc88072f1597e1757ec82fefaacc02f49c6c98";
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 }