Use the pod name, not the attribute name
This commit is contained in:
parent
d3eb6a7485
commit
79820a3f9b
2 changed files with 9 additions and 9 deletions
|
|
@ -61,7 +61,7 @@ let
|
|||
};
|
||||
|
||||
# Pod Definition
|
||||
download = {
|
||||
podDefinition = {
|
||||
name = "download";
|
||||
ports = [
|
||||
"7878:7878" # : Radarr
|
||||
|
|
@ -104,12 +104,12 @@ in
|
|||
config = lib.mkIf cfg.enable {
|
||||
|
||||
my.virtualisation.podmanPods = {
|
||||
inherit download;
|
||||
inherit podDefinition;
|
||||
};
|
||||
|
||||
virtualisation.oci-containers.containers =
|
||||
let
|
||||
pod = config.helpers.processContainers download;
|
||||
pod = config.helpers.processContainers podDefinition;
|
||||
in
|
||||
pod.containers;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue