mirror of
https://git.in.rschanz.org/ryan77627/guix-config.git
synced 2025-02-11 22:11:17 -05:00
68 lines
2.1 KiB
Nix
68 lines
2.1 KiB
Nix
{
|
|
description = "Home Manager configuration of ryan";
|
|
|
|
inputs = {
|
|
# Specify the source of Home Manager and Nixpkgs.
|
|
nixpkgs.url = "github:nixos/nixpkgs/8f3e1f807051e32d8c95cd12b9b421623850a34d";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/fc52a210b60f2f52c74eac41a8647c1573d2071d";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
hyprlock = {
|
|
url = "github:hyprwm/hyprlock/v0.6.1";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
hyprpicker-git = {
|
|
url = "github:hyprwm/hyprpicker/v0.4.2";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
hyprland = {
|
|
url = "github:hyprwm/hyprland/0dc7367a7006cc3cc877d52bf34c4998144bff84";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
inputs.aquamarine.url = "github:hyprwm/aquamarine/7fe006981fae53e931f513026fc754e322f13145";
|
|
};
|
|
nixgl = {
|
|
url = "github:ryan77627/nixGL/3865170cbc23b32ec7cc8df1ec811fd44b6c2a58";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
wpaperd = {
|
|
url = "github:danyspin97/wpaperd/7865433233ff58f33ca4af94fd5031e26f409f52";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
#mozff.url = "github:mozilla/nixpkgs-mozilla";
|
|
};
|
|
|
|
outputs = { nixpkgs, home-manager, hyprpicker-git, hyprland, nixgl, wpaperd, hyprlock, ... }@inputs:
|
|
let
|
|
system = "x86_64-linux";
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
overlays = [
|
|
nixgl.overlay
|
|
#mozff.overlays.firefox
|
|
];
|
|
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;
|
|
inherit hyprlock;
|
|
inherit hyprpicker-git;
|
|
};
|
|
}
|
|
];
|
|
|
|
# Optionally use extraSpecialArgs
|
|
# to pass through arguments to home.nix
|
|
# extraSpecialArgs = { inherit overlays; };
|
|
};
|
|
};
|
|
}
|