Skip to content

Instantly share code, notes, and snippets.

@sorki
Created December 20, 2021 10:55
Show Gist options
  • Save sorki/a1776bb2fe7784803e465d0fb67207e2 to your computer and use it in GitHub Desktop.
Save sorki/a1776bb2fe7784803e465d0fb67207e2 to your computer and use it in GitHub Desktop.
nix-build '<nixpkgs/nixos>' -I nixos-config=clxc.nix -A config.system.build.tarball
{
imports = [
<nixpkgs/nixos/modules/virtualisation/lxc-container.nix>
];
nixpkgs = {
crossSystem.system = "armv7l-linux";
overlays = [
];
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment