2024-02-16 20:10:31 -05:00
|
|
|
{
|
|
|
|
description = "Home Manager configuration of ryan";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
# Specify the source of Home Manager and Nixpkgs.
|
2024-10-19 21:55:55 -04:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/2a55bdc8cfcf41551323a4a6cef24d3f566c824d";
|
2024-02-16 20:10:31 -05:00
|
|
|
home-manager = {
|
2024-10-19 21:55:55 -04:00
|
|
|
url = "github:nix-community/home-manager/122f70545b29ccb922e655b08acfe05bfb44ec68";
|
2024-02-16 20:10:31 -05:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
hyprpicker-git = {
|
2024-10-19 21:55:55 -04:00
|
|
|
url = "github:hyprwm/hyprpicker/v0.4.1";
|
2024-02-16 20:10:31 -05:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-10-19 00:11:58 -04:00
|
|
|
hyprland = {
|
2024-10-28 23:57:03 -04:00
|
|
|
url = "github:hyprwm/hyprland/v0.44.1";
|
2024-10-19 00:11:58 -04:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
nixgl = {
|
2024-10-19 21:55:55 -04:00
|
|
|
url = "github:nix-community/nixGL/310f8e49a149e4c9ea52f1adf70cdc768ec53f8a";
|
2024-10-19 00:11:58 -04:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-10-28 23:57:03 -04:00
|
|
|
mozff.url = "github:mozilla/nixpkgs-mozilla";
|
2024-02-16 20:10:31 -05:00
|
|
|
};
|
|
|
|
|
2024-10-28 23:57:03 -04:00
|
|
|
outputs = { nixpkgs, home-manager, hyprpicker-git, hyprland, nixgl, mozff, ... }@inputs:
|
2024-02-16 20:10:31 -05:00
|
|
|
let
|
|
|
|
system = "x86_64-linux";
|
|
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
|
|
overlays = [
|
|
|
|
hyprpicker-git.overlays.default
|
2024-10-19 00:11:58 -04:00
|
|
|
nixgl.overlay
|
2024-10-28 23:57:03 -04:00
|
|
|
mozff.overlays.firefox
|
2024-10-19 00:11:58 -04:00
|
|
|
];
|
2024-02-16 20:10:31 -05:00
|
|
|
in {
|
|
|
|
homeConfigurations."ryan" = home-manager.lib.homeManagerConfiguration {
|
|
|
|
inherit pkgs;
|
|
|
|
|
|
|
|
# Specify your home configuration modules here, for example,
|
|
|
|
# the path to your home.nix.
|
|
|
|
modules = [
|
|
|
|
{nixpkgs.overlays = overlays;}
|
2024-10-28 23:57:03 -04:00
|
|
|
./home.nix
|
2024-10-19 00:11:58 -04:00
|
|
|
{
|
|
|
|
_module.args = {
|
|
|
|
inherit hyprland;
|
|
|
|
inherit nixgl;
|
|
|
|
};
|
|
|
|
}
|
2024-02-16 20:10:31 -05:00
|
|
|
];
|
|
|
|
|
|
|
|
# Optionally use extraSpecialArgs
|
|
|
|
# to pass through arguments to home.nix
|
2024-10-28 23:57:03 -04:00
|
|
|
# extraSpecialArgs = { inherit overlays; };
|
2024-02-16 20:10:31 -05:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|