2024-02-16 20:10:31 -05:00
|
|
|
{
|
|
|
|
description = "Home Manager configuration of ryan";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
# Specify the source of Home Manager and Nixpkgs.
|
2025-01-20 20:49:03 -05:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/8f3e1f807051e32d8c95cd12b9b421623850a34d";
|
2024-02-16 20:10:31 -05:00
|
|
|
home-manager = {
|
2025-01-20 20:49:03 -05:00
|
|
|
url = "github:nix-community/home-manager/fc52a210b60f2f52c74eac41a8647c1573d2071d";
|
2024-02-16 20:10:31 -05:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2025-01-20 21:29:11 -05:00
|
|
|
hyprlock = {
|
|
|
|
url = "github:hyprwm/hyprlock/v0.6.1";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-02-16 20:10:31 -05:00
|
|
|
hyprpicker-git = {
|
2025-01-20 21:29:11 -05:00
|
|
|
url = "github:hyprwm/hyprpicker/v0.4.2";
|
2024-02-16 20:10:31 -05:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-10-19 00:11:58 -04:00
|
|
|
hyprland = {
|
2025-01-20 20:49:03 -05:00
|
|
|
url = "github:hyprwm/hyprland/0dc7367a7006cc3cc877d52bf34c4998144bff84";
|
2024-10-19 00:11:58 -04:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
2025-01-20 20:49:03 -05:00
|
|
|
inputs.aquamarine.url = "github:hyprwm/aquamarine/main";
|
2024-10-19 00:11:58 -04:00
|
|
|
};
|
|
|
|
nixgl = {
|
2025-01-20 20:49:03 -05:00
|
|
|
url = "github:bb010g/nixGL/main";
|
2024-10-19 00:11:58 -04:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-11-14 14:53:44 -05:00
|
|
|
wpaperd = {
|
|
|
|
url = "github:danyspin97/wpaperd/7865433233ff58f33ca4af94fd5031e26f409f52";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
#mozff.url = "github:mozilla/nixpkgs-mozilla";
|
2024-02-16 20:10:31 -05:00
|
|
|
};
|
|
|
|
|
2025-01-20 21:29:11 -05:00
|
|
|
outputs = { nixpkgs, home-manager, hyprpicker-git, hyprland, nixgl, wpaperd, hyprlock, ... }@inputs:
|
2024-02-16 20:10:31 -05:00
|
|
|
let
|
|
|
|
system = "x86_64-linux";
|
|
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
|
|
overlays = [
|
2024-10-19 00:11:58 -04:00
|
|
|
nixgl.overlay
|
2024-11-14 14:53:44 -05: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-11-14 14:53:44 -05:00
|
|
|
inherit wpaperd;
|
2025-01-20 21:29:11 -05:00
|
|
|
inherit hyprlock;
|
|
|
|
inherit hyprpicker-git;
|
2024-10-19 00:11:58 -04:00
|
|
|
};
|
|
|
|
}
|
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
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|