blueberry: oops

This commit is contained in:
41666 2023-12-22 18:31:56 -05:00
parent 3cfc693b62
commit 6c15c87de1
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ lib, pkgs, ... }: { { lib, pkgs, inputs, ... }: {
imports = [ imports = [
./base.nix ./base.nix
@ -17,6 +17,7 @@
lower = "05:00"; lower = "05:00";
upper = "07:00"; upper = "07:00";
}; };
flake = inputs.self.outPath;
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [

View file

@ -6,7 +6,7 @@
wantedBy = map (x: "podman-${x}.service") containers; wantedBy = map (x: "podman-${x}.service") containers;
script = '' script = ''
${pkgs.podman}/bin/podman pod exists ${podName} || \\ ${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}
''; '';
}; };
}; };