feat: add hyprfocus hyprland plugin

This commit is contained in:
Alexandre Cavalheiro S. Tiago da Silva 2024-01-04 22:14:17 -03:00
parent 709ee7d225
commit 284f242e72
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
4 changed files with 347 additions and 275 deletions

View file

@ -13,6 +13,11 @@
url = "github:hyprwm/Hyprland";
inputs.nixpkgs.follows = "nixpkgs";
};
hyprland-hyprfocus = {
url = "github:VortexCoyote/hyprfocus";
inputs.hyprland.follows = "hyprland";
};
};
outputs = {
@ -20,6 +25,7 @@
nixpkgs,
home-manager,
hyprland,
hyprland-hyprfocus,
...
}@inputs: {
nixosConfigurations.nixos =
@ -38,21 +44,11 @@
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = inputs;
home-manager.users.wizardlink = import ./home-manager.nix;
}
];
in
nixpkgs.lib.nixosSystem { inherit system modules; };
homeConfigurations."wizardlink@nixos" = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.x86_64-linux;
modules = [
hyprland.homeManagerModules.default
{
wayland.windowManager.hyprland.enable = true;
}
];
};
};
}