This commit is contained in:
zimbatm 2020-04-18 00:12:32 +02:00
parent 4f6e76e4be
commit 459d67eb6d
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7
2 changed files with 15 additions and 1 deletions
.github/workflows
default.nix

View file

@ -11,4 +11,4 @@ jobs:
with:
name: nix-community
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- run: ./deploy --build-only
- run: nix-build

14
default.nix Normal file
View file

@ -0,0 +1,14 @@
# Add derivations to be built from the cache to this file
{ system ? builtins.currentSystem }:
let
pkgs = import ./nix { inherit system; };
importNixOS = configuration: system:
(import "${toString pkgs.path}/nixos") {
inherit configuration system;
};
in
pkgs.nix-community-infra // rec {
build01 = importNixOS ./build01/configuration.nix "x86_64-linux";
build01-system = build01.system;
}