32 lines
695 B
Nix
32 lines
695 B
Nix
{
|
|
description = "CachyOS Kernels";
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
};
|
|
outputs =
|
|
{ self, flake-parts, ... }@inputs:
|
|
flake-parts.lib.mkFlake { inherit inputs; } (
|
|
_:
|
|
let
|
|
revision = "3";
|
|
in
|
|
{
|
|
systems = [ "x86_64-linux" ];
|
|
|
|
perSystem =
|
|
{ pkgs, ... }:
|
|
{
|
|
packages = {
|
|
default = pkgs.writeText "default" revision;
|
|
another = pkgs.writeText "another" revision;
|
|
};
|
|
};
|
|
|
|
flake = {
|
|
hydraJobs.packages = self.packages;
|
|
};
|
|
}
|
|
);
|
|
}
|