meow
Some checks failed
ci/woodpecker/push/build-cache Pipeline failed

This commit is contained in:
Lucy Hochkamp 2025-10-09 17:54:24 +02:00
parent 5ad1f4e497
commit 672b7c1a14
No known key found for this signature in database
3 changed files with 63 additions and 9 deletions

View file

@ -70,6 +70,15 @@
);
overlays = [
self.overlays.default
(final: prev: {
inherit (final.unstable.lixPackageSets.latest)
nixpkgs-review
nix-direnv
nix-eval-jobs
nix-fast-build
colmena
;
})
];
genPkgs =
system:
@ -110,13 +119,33 @@
pkgs.nixfmt-rfc-style
pkgs.nil
pkgs.sops
(pkgs.runCommand "nix-config-bin" {} ''
mkdir -p $out/bin
cp ${./bin}/* $out/bin
'')
(pkgs.runCommand "nix-config-bin" { } ''
mkdir -p $out/bin
cp ${./bin}/* $out/bin
'')
];
SOPS_CONFIG = (pkgs.callPackage ./sops.nix { instanceConfigs = lib.xyno.getDirs ./instances; });
};
hydraJobs.systems = lib.foldl' lib.recursiveUpdate { } [
(builtins.mapAttrs (
host: config:
lib.foldl' lib.recursiveUpdate { } ([
{
inherit (config.config.system.build) initialRamdisk;
kernel = config.config.boot.kernelPackages.kernel;
}
])
) self.nixosConfigurations)
];
packages."x86_64-linux" =
let
pkgs = genPkgs "x86_64-linux";
in
{
nix = pkgs.unstable.lixPackageSets.latest.lix;
nix-fast-build = pkgs.nix-fast-build;
};
checks."x86_64-linux"."nixos" =
let