blueberry: oops
This commit is contained in:
parent
3cfc693b62
commit
6c15c87de1
2 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, pkgs, ... }: {
|
||||
{ lib, pkgs, inputs, ... }: {
|
||||
|
||||
imports = [
|
||||
./base.nix
|
||||
|
@ -17,6 +17,7 @@
|
|||
lower = "05:00";
|
||||
upper = "07:00";
|
||||
};
|
||||
flake = inputs.self.outPath;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
wantedBy = map (x: "podman-${x}.service") containers;
|
||||
script = ''
|
||||
${pkgs.podman}/bin/podman pod exists ${podName} || \\
|
||||
${pkgs.podman}/bin/podman pod create -n ${podName} ${map (x: "-p 0.0.0.0:${x}:${x}") portFlags}
|
||||
${pkgs.podman}/bin/podman pod create -n ${podName} ${map (x: "-p 0.0.0.0:${x}:${x}") ports}
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue