Merge pull request #267764 from Silver-Golden/nixos/proxmox-lxc-import-not-activate

This commit is contained in:
Sandro 2024-07-16 17:02:47 +02:00 committed by GitHub
commit c0e4367e8f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,6 +4,11 @@ with lib;
{ {
options.proxmoxLXC = { options.proxmoxLXC = {
enable = mkOption {
default = true;
type = types.bool;
description = lib.mdDoc "Whether to enable the Proxmox VE LXC module.";
};
privileged = mkOption { privileged = mkOption {
type = types.bool; type = types.bool;
default = false; default = false;
@ -35,7 +40,7 @@ with lib;
let let
cfg = config.proxmoxLXC; cfg = config.proxmoxLXC;
in in
{ mkIf cfg.enable {
system.build.tarball = pkgs.callPackage ../../lib/make-system-tarball.nix { system.build.tarball = pkgs.callPackage ../../lib/make-system-tarball.nix {
storeContents = [{ storeContents = [{
object = config.system.build.toplevel; object = config.system.build.toplevel;