2024-04-21 19:38:47 +02:00
|
|
|
# SPDX-FileCopyrightText: 2022 Richard Brežák <richard@brezak.sk>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: LGPL-3.0-or-later
|
|
|
|
{
|
|
|
|
inputs,
|
|
|
|
lib',
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
inherit
|
|
|
|
(lib')
|
|
|
|
singleton
|
|
|
|
mkForce
|
|
|
|
;
|
|
|
|
|
|
|
|
config' = config;
|
|
|
|
in {
|
2024-07-15 19:31:54 +02:00
|
|
|
flake.nixosConfigurations.buildbot-container = inputs.buildbot-nix.inputs.nixpkgs.lib.nixosSystem {
|
2024-04-21 19:38:47 +02:00
|
|
|
system = "x86_64-linux";
|
|
|
|
lib = lib';
|
|
|
|
|
|
|
|
specialArgs = {
|
|
|
|
config' = config';
|
|
|
|
inputs' = inputs;
|
|
|
|
};
|
|
|
|
|
|
|
|
modules =
|
|
|
|
singleton
|
|
|
|
({pkgs, ...}: {
|
|
|
|
boot.isContainer = true;
|
|
|
|
|
|
|
|
imports = [
|
|
|
|
./buildbot.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
networking.hostName = "buildbot";
|
|
|
|
});
|
|
|
|
};
|
|
|
|
}
|