{ description = "the poz"; outputs = { self, nixpkgs, ... } @ inputs: let inherit (nixpkgs) lib; # we isolate lib from nixpkgs to be able to pass it to specific flake options, alternatively use nixpkgs.lib in { # instead of cluttering flake.nix, import all nixosConfigurations from their own dedicated file nixosConfigurations = import ./hosts {inherit nixpkgs inputs lib;}; }; inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; hyprland.url = "github:hyprwm/Hyprland"; hyprland-plugins.url = "github:hyprwm/hyprland-plugins"; split-monitor-workspaces = { url = "github:jacekpoz/split-monitor-workspaces"; inputs.nixpkgs.follows = "hyprland"; }; home-manager = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; conduit.url = "gitlab:famedly/conduit/next"; }; }