niksos/flake.nix

31 lines
911 B
Nix
Raw Normal View History

2023-07-06 20:03:25 +02:00
{
2023-07-13 12:49:20 +02:00
description = "the poz";
2023-07-13 12:49:20 +02:00
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";
2023-07-06 20:03:25 +02:00
2023-07-13 12:49:20 +02:00
hyprland.url = "github:hyprwm/Hyprland";
hyprland-plugins.url = "github:hyprwm/hyprland-plugins";
2023-07-13 12:49:20 +02:00
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
2023-07-13 16:39:27 +02:00
conduit = {
url = "gitlab:famedly/conduit";
inputs.nixpkgs.follows = "nixpkgs";
};
2023-07-06 20:03:25 +02:00
};
}