Files
hyprland-headless-stream-pl…/flake.nix
T
2026-09-28 05:01:41 +00:00

27 lines
978 B
Nix

{
description = "Stream a headless Hyprland session to a persistent Unix socket";
# Matches the nixpkgs this was developed against; consumers can override with
# inputs.nixpkgs.follows = "nixpkgs" and nothing breaks.
inputs.nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1";
outputs = { self, nixpkgs, ... }: let
systems = [ "x86_64-linux" "aarch64-linux" ];
forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f (import nixpkgs { inherit system; }));
in {
packages = forAllSystems (pkgs: rec {
hhstream = pkgs.callPackage ./nix/package.nix {};
default = hhstream;
});
nixosModules = rec {
hyprland-headless-stream = import ./nix/module.nix;
default = hyprland-headless-stream;
};
# `checks` (unit tests + the VM integration test) and `devShells` are owned
# by the test-harness workstream -- see docs/CONTRACT.md for the interface.
formatter = forAllSystems (pkgs: pkgs.alejandra);
};
}