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

69 lines
2 KiB
Nix
Raw Normal View History

2024-02-16 20:10:31 -05:00
{
description = "Home Manager configuration of ryan";
inputs = {
# Specify the source of Home Manager and Nixpkgs.
nixpkgs.url = "github:nixos/nixpkgs/8f3e1f807051e32d8c95cd12b9b421623850a34d";
2024-02-16 20:10:31 -05:00
home-manager = {
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";
};
hyprland = {
url = "github:hyprwm/hyprland/v0.47.0";
inputs.nixpkgs.follows = "nixpkgs";
inputs.aquamarine.url = "github:hyprwm/aquamarine/v0.7.2";
};
nixgl = {
url = "github:ryan77627/nixGL/3865170cbc23b32ec7cc8df1ec811fd44b6c2a58";
inputs.nixpkgs.follows = "nixpkgs";
};
wpaperd = {
url = "github:danyspin97/wpaperd/b0b7e66fd32dca36c431a174784a2e87af7edb77";
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 = [
nixgl.overlay
#mozff.overlays.firefox
];
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;}
./home.nix
{
_module.args = {
inherit hyprland;
inherit nixgl;
inherit wpaperd;
2025-01-20 21:29:11 -05:00
inherit hyprlock;
inherit hyprpicker-git;
};
}
2024-02-16 20:10:31 -05:00
];
# Optionally use extraSpecialArgs
# to pass through arguments to home.nix
# extraSpecialArgs = { inherit overlays; };
2024-02-16 20:10:31 -05:00
};
};
}