{ inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; home-manager = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; # waybar-hyprland.url = "github:hyprwm/hyprland"; nur.url = "github:nix-community/NUR"; stylix.url = "github:danth/stylix"; # matugen.url = "github:InioX/matugen?ref=v2.2.0"; # xdg-portal-hyprland.url = "github:hyprwm/xdg-desktop-portal-hyprland"; systems.url = "github:nix-systems/default-linux"; hyprland = { type = "git"; url = "https://github.com/hyprwm/Hyprland"; submodules = true; }; hyprland-plugins = { url = "github:hyprwm/hyprland-plugins"; inputs.hyprland.follows = "hyprland"; }; Hyprspace = { url = "github:KZDKM/Hyprspace"; inputs.hyprland.follows = "hyprland"; }; hycov = { url = "github:DreamMaoMao/hycov"; inputs.hyprland.follows = "hyprland"; }; }; outputs = { self, nixpkgs, home-manager, stylix, systems, ... } @ inputs: let inherit (self) outputs; lib = nixpkgs.lib // home-manager.lib; forEachSystem = f: lib.genAttrs (import systems) (system: f pkgsFor.${system}); pkgsFor = lib.genAttrs (import systems) ( system: import nixpkgs { inherit system; } ); in { inherit lib; defaultPackage.x86_64-linux = home-manager.defaultPackage.x86_64-linux; homeConfigurations = { fuwn = home-manager.lib.homeManagerConfiguration { pkgs = pkgsFor.x86_64-linux; modules = [ stylix.homeManagerModules.stylix ./home/fuwn/home.nix ]; extraSpecialArgs = { inherit inputs outputs; }; }; }; formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.alejandra; }; }