niksos/flake.nix

27 lines
699 B
Nix
Raw Normal View History

2023-07-06 20:03:25 +02:00
{
2023-07-07 20:13:49 +02:00
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;};
};
2023-07-06 20:03:25 +02:00
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
2023-07-06 20:03:25 +02:00
hyprland.url = "github:hyprwm/Hyprland";
2023-07-06 20:03:25 +02:00
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
2023-07-07 20:13:49 +02:00
nixvim.url = "github:pta2002/nixvim";
2023-07-06 20:03:25 +02:00
};
}