30 lines
599 B
Nix
30 lines
599 B
Nix
{
|
|
pkgs,
|
|
general,
|
|
builds,
|
|
inputs,
|
|
...
|
|
}: {
|
|
imports = [
|
|
# Include the results of the hardware scan.
|
|
./hardware-configuration.nix
|
|
];
|
|
|
|
environment.systemPackages = with pkgs; [];
|
|
|
|
nixpkgs.config.allowUnfree = general.allowUnfree;
|
|
|
|
nix.settings = {
|
|
trusted-users = builds.builder.trustedUsers;
|
|
experimental-features = ["nix-command" "flakes"];
|
|
};
|
|
|
|
programs.ssh.extraConfig = general.ssh.extraConfig;
|
|
|
|
nix.distributedBuilds = true;
|
|
nix.settings.builders-use-substitutes = true;
|
|
|
|
# nix.buildMachines = builder.buildMachines;
|
|
system.stateVersion = "25.05";
|
|
}
|