nix-remote-build/flake.nix

25 lines
489 B
Nix
Raw Normal View History

2025-07-18 18:43:04 -04:00
{
description = "A very basic flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
};
outputs = { self, nixpkgs }:
let pkgs = nixpkgs.legacyPackages.x86_64-linux; in
{
packages.x86_64-linux.default = pkgs.callPackage (
{
dockerTools
}:
dockerTools.buildImage {
name = "nix-remote-builder";
tag = "latest";
config = {
Cmd = [ "${pkgs.fastfetch}" ];
};
}
) {};
};
}