hxwrap/flake.nix

28 lines
646 B
Nix
Raw Normal View History

2024-08-19 20:23:12 +00:00
{
description = "A wrapper for Helix that provides language support";
2024-12-21 17:44:36 +00:00
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
2024-08-19 20:23:12 +00:00
};
2024-12-21 17:44:36 +00:00
outputs = {
self,
nixpkgs,
flake-parts,
} @ inputs:
flake-parts.lib.mkFlake {inherit inputs;} {
systems = nixpkgs.lib.systems.flakeExposed;
flake = {
lib = nixpkgs.lib.extend (import ./lib.nix);
nixosConfigurations = self.lib.genNixosConfigurations {inherit inputs;};
};
2024-12-21 18:14:13 +00:00
perSystem = {pkgs, ...}: {
2024-12-21 17:44:36 +00:00
packages.default = pkgs.callPackage ./package.nix {};
};
};
2024-08-19 20:23:12 +00:00
}