diff --git a/nixos/server.nix b/nixos/server.nix index d179171..be78bc9 100644 --- a/nixos/server.nix +++ b/nixos/server.nix @@ -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; [ diff --git a/nixos/stacks/stack-utils.nix b/nixos/stacks/stack-utils.nix index b1664b9..36a14b9 100644 --- a/nixos/stacks/stack-utils.nix +++ b/nixos/stacks/stack-utils.nix @@ -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} ''; }; };