hylonix/flake.nix
hylodon 2a5ced3905 Removed pipe operator.
The pipe operator '<|' was added in Nix 2.24 as experimental. In typical
nix community fashion, an eternity has passed, it's still experimental, and
they're still arguing about it. Thus, in order not to burden any users of
this flake, they have been removed.

To get this done quickly a utility function has been added called 'compose'.
It is 'lib.trivial.pipe' written in reverse. This eliminates any bugs and
performance regressions from unnecessary thunk evaluation.
2026-02-23 22:08:18 +00:00

22 lines
543 B
Nix

{
description = "hylonix: Nix configurations from hylodon.";
inputs = {
nixos.url = "github:NixOS/nixpkgs/nixos-25.11";
};
outputs =
{ self, nixos, ... }:
let
forAllSystems = nixos.lib.genAttrs nixos.lib.systems.flakeExposed;
in
{
formatter = forAllSystems (system: nixos.legacyPackages.${system}.nixfmt-tree);
hmModules = import ./modules/home-manager self.lib.hylonix;
lib = import ./lib (nixos.lib // self.lib);
nixosModules = import ./modules/nixos self.lib.hylonix;
};
}