From 1dcec04482610ada03215ee8002efa7a79b3d109 Mon Sep 17 00:00:00 2001 From: iFargle Date: Sat, 16 Dec 2023 20:05:34 +0900 Subject: [PATCH] organize --- nixos/hosts/piaware-rpi4/podman/piaware.nix | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/nixos/hosts/piaware-rpi4/podman/piaware.nix b/nixos/hosts/piaware-rpi4/podman/piaware.nix index 42bb87ea..f17a694d 100644 --- a/nixos/hosts/piaware-rpi4/podman/piaware.nix +++ b/nixos/hosts/piaware-rpi4/podman/piaware.nix @@ -12,9 +12,7 @@ RECEIVER_TYPE = "rtlsdr"; TZ = "Asia/Tokyo"; }; - ports = [ - "8080:80/tcp" - ]; + ports = [ "8080:80/tcp" ]; log-driver = "journald"; extraOptions = [ "--device=/dev/bus/usb:/dev/bus/usb" @@ -26,18 +24,10 @@ serviceConfig = { Restart = lib.mkOverride 500 "always"; }; - after = [ - "podman-network-piaware-default.service" - ]; - requires = [ - "podman-network-piaware-default.service" - ]; - partOf = [ - "podman-compose-piaware-root.target" - ]; - wantedBy = [ - "podman-compose-piaware-root.target" - ]; + after = [ "podman-network-piaware-default.service" ]; + requires = [ "podman-network-piaware-default.service" ]; + partOf = [ "podman-compose-piaware-root.target" ]; + wantedBy = [ "podman-compose-piaware-root.target" ]; }; # Networks