dotfiles/nixos/systems/buildbot-container/default.nix

40 lines
644 B
Nix
Raw Normal View History

# 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.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";
});
};
}