mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-26 18:16:13 +01:00
46780335bf
Signed-off-by: magic_rb <magic_rb@redalder.org>
40 lines
664 B
Nix
40 lines
664 B
Nix
# 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 {
|
|
flake.nixosConfigurations.buildbot-container = inputs.buildbot-nix.inputs.nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
lib = lib';
|
|
|
|
specialArgs = {
|
|
config' = config';
|
|
inputs' = inputs;
|
|
};
|
|
|
|
modules =
|
|
singleton
|
|
({pkgs, ...}: {
|
|
boot.isContainer = true;
|
|
|
|
imports = [
|
|
./buildbot.nix
|
|
];
|
|
|
|
networking.hostName = "buildbot";
|
|
});
|
|
};
|
|
}
|