niksos/flake.nix
2023-08-13 09:41:19 +02:00

68 lines
2 KiB
Nix

{
description = "the poz";
outputs = {
self,
nixpkgs,
nur,
nixpak,
...
} @ 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 nur;};
};
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
hyprland.url = "github:hyprwm/Hyprland";
hyprcontrib = {
url = "github:hyprwm/contrib";
inputs.nixpkgs.follows = "nixpkgs";
};
hyprland-plugins.url = "github:hyprwm/hyprland-plugins";
split-monitor-workspaces.url = "github:jacekpoz/split-monitor-workspaces";
shadower.url = "github:n3oney/shadower";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
conduit.url = "gitlab:famedly/conduit/next";
nix-gaming = {
url = "github:fufexan/nix-gaming";
inputs.nixpkgs.follows = "nixpkgs";
};
nur.url = "github:nix-community/NUR";
fenix = {
url = "github:nix-community/fenix";
inputs.nixpkgs.follows = "nixpkgs";
};
nixpak = {
url = "github:max-privatevoid/nixpak";
inputs.nixpkgs.follows = "nixpkgs";
};
firefox-nightly = {
url = "github:colemickens/flake-firefox-nightly";
inputs.nixpkgs.follows = "nixpkgs";
};
nixpkgs-wayland.url = "github:nix-community/nixpkgs-wayland";
anyrun = {
url = "github:Kirottu/anyrun";
inputs.nixpkgs.follows = "nixpkgs";
};
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
helix.url = "github:helix-editor/helix";
};
}