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

63 lines
1.8 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/f49e820fbc9450736bb6ba982a2ff0a8d014ad1e";
2024-02-16 20:10:31 -05:00
home-manager = {
url = "github:nix-community/home-manager/1d0862ee2d7c6f6cd720d6f32213fa425004be10";
2024-02-16 20:10:31 -05:00
inputs.nixpkgs.follows = "nixpkgs";
};
hyprpicker-git = {
url = "github:hyprwm/hyprpicker/v0.4.1";
2024-02-16 20:10:31 -05:00
inputs.nixpkgs.follows = "nixpkgs";
};
hyprland = {
url = "github:hyprwm/hyprland/v0.45.0";
inputs.nixpkgs.follows = "nixpkgs";
};
nixgl = {
url = "github:nix-community/nixGL/310f8e49a149e4c9ea52f1adf70cdc768ec53f8a";
inputs.nixpkgs.follows = "nixpkgs";
};
wpaperd = {
url = "github:danyspin97/wpaperd/7865433233ff58f33ca4af94fd5031e26f409f52";
inputs.nixpkgs.follows = "nixpkgs";
};
#mozff.url = "github:mozilla/nixpkgs-mozilla";
2024-02-16 20:10:31 -05:00
};
outputs = { nixpkgs, home-manager, hyprpicker-git, hyprland, nixgl, wpaperd, ... }@inputs:
2024-02-16 20:10:31 -05:00
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
overlays = [
hyprpicker-git.overlays.default
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;
};
}
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
};
};
}