added a basic hydra

This commit is contained in:
Rouven Seifert 2023-05-01 21:05:49 +02:00
parent b7ecc2984d
commit d41c30a414
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
4 changed files with 28 additions and 3 deletions

View file

@ -1,5 +1,6 @@
{
description = "My nix setup"; inputs = {
description = "My nix setup";
inputs = {
nixpkgs = {
url = "github:nixos/nixpkgs/nixos-unstable";
};
@ -63,7 +64,7 @@
};
outputs =
{ self
{ self
, nixpkgs
, home-manager
, nix-index-database
@ -77,6 +78,7 @@
, ...
}@attrs: {
packages.x86_64-linux.default = self.nixosConfigurations.iso.config.system.build.isoImage;
hydraJobs.x86_64-linux.default = self.packages.x86_64-linux.default;
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixpkgs-fmt;
nixosConfigurations = {
thinkpad = nixpkgs.lib.nixosSystem {