Add hydra jobs & flake packages

This commit is contained in:
Tristan Ross 2025-09-06 06:27:36 -07:00
parent 11b2a10c7b
commit 350fd669eb
No known key found for this signature in database
GPG key ID: B09C422035669AF8
10 changed files with 184 additions and 80 deletions

View file

@ -1,10 +1,27 @@
{
description = "nixos-hardware";
inputs.nixpkgs.url = "github:NixOS/nixpkgs";
outputs =
{ ... }:
{ nixpkgs, ... }:
let
inherit (nixpkgs.lib)
genAttrs
;
eachSystem = genAttrs [
"aarch64-linux"
"x86_64-linux"
"riscv64-linux"
];
in
{
hydraJobs = import ./jobs.nix nixpkgs;
packages = eachSystem (system: import ./. { pkgs = nixpkgs.legacyPackages.${system}; });
nixosModules =
let
deprecated =