nixos-generators/formats/lxc.nix

17 lines
295 B
Nix

{
config,
pkgs,
lib,
modulesPath,
...
}: {
imports = [
"${toString modulesPath}/virtualisation/lxc-container.nix"
];
boot.loader.grub.enable = lib.mkForce false;
boot.loader.systemd-boot.enable = lib.mkForce false;
formatAttr = "tarball";
fileExtension = ".tar.xz";
}