47 lines
1.2 KiB
Nix
47 lines
1.2 KiB
Nix
{
|
|
description = "Home Manager configuration of johno";
|
|
|
|
inputs =
|
|
{
|
|
# Specify the source of Home Manager and Nixpkgs.
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
hyprland = {
|
|
type = "git";
|
|
url = "https://github.com/hyprwm/Hyprland";
|
|
submodules = true;
|
|
rev = "9a09eac79b85c846e3a865a9078a3f8ff65a9259";
|
|
};
|
|
hy3 = {
|
|
url = "github:outfoxxed/hy3?ref=hl0.42.0";
|
|
inputs.hyprland.follows = "hyprland";
|
|
};
|
|
};
|
|
|
|
outputs = { nixpkgs, home-manager, hyprland, ... } @inputs:
|
|
let
|
|
system = "x86_64-linux";
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
in {
|
|
homeConfigurations."johno" = home-manager.lib.homeManagerConfiguration {
|
|
inherit pkgs;
|
|
|
|
# Specify your home configuration modules here, for example,
|
|
# the path to your home.nix.
|
|
modules = [
|
|
hyprland.homeManagerModules.default
|
|
|
|
./home.nix
|
|
];
|
|
|
|
# Optionally use extraSpecialArgs
|
|
# to pass through arguments to home.nix
|
|
extraSpecialArgs = { inherit inputs; };
|
|
};
|
|
};
|
|
}
|