expands hypr config into different parts, makes it cool too

This commit is contained in:
JuliaLange 2024-02-16 21:29:53 -08:00
parent 9eacb3d95c
commit 7b32e3330c
9 changed files with 128 additions and 84 deletions

View file

@ -11,15 +11,20 @@
};
hyprland.url = "github:hyprwm/Hyprland";
hyprland-contrib = {
url = "github:hyprwm/contrib";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { nixpkgs, home-manager, hyprland, ... }:
outputs = { nixpkgs, home-manager, hyprland, ... }@inputs:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
homeConfigurations."pan" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = { inherit inputs; };
modules = [
hyprland.homeManagerModules.default
./home.nix