mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
nixos/lxc: add package option and use for incus/lxd
This commit is contained in:
parent
ee1428c654
commit
f171f4ffd4
3 changed files with 16 additions and 9 deletions
|
@ -111,7 +111,12 @@ in
|
|||
|
||||
package = lib.mkPackageOption pkgs "incus-lts" { };
|
||||
|
||||
lxcPackage = lib.mkPackageOption pkgs "lxc" { };
|
||||
lxcPackage = lib.mkOption {
|
||||
type = lib.types.package;
|
||||
default = config.virtualisation.lxc.package;
|
||||
defaultText = lib.literalExpression "config.virtualisation.lxc.package";
|
||||
description = "The lxc package to use.";
|
||||
};
|
||||
|
||||
clientPackage = lib.mkOption {
|
||||
type = lib.types.package;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue