mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-14 13:39:15 +03:00
Merge pull request #267764 from Silver-Golden/nixos/proxmox-lxc-import-not-activate
This commit is contained in:
commit
c0e4367e8f
1 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue