niksos/flake.nix

25 lines
681 B
Nix

{
description = "Jacekpoz's Nixos Configurations";
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";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
}