···88 (system: function nixpkgs.legacyPackages.${system} system);
99 in {
1010 devShells = forAllSystems (pkgs: system: {
1111- default =
1212- pkgs.mkShell { packages = with pkgs; [ go tailwindcss ]; };
1111+ default = pkgs.mkShell { packages = with pkgs; [ go tailwindcss ]; };
1312 });
14131514 packages = forAllSystems (pkgs: system: rec {
+8-1
internal/templates/helpers.go
···1111 if temp == 0 {
1212 return "N/A"
1313 }
1414- return fmt.Sprintf("%.1f°C", temp)
1414+1515+ // REFACTOR: This probably isn't the best way to deal with units
1616+ unit := 'C'
1717+ if temp > 100 {
1818+ unit = 'F'
1919+ }
2020+2121+ return fmt.Sprintf("%.1f°%c", temp, unit)
1522}
16231724func formatTempValue(temp float64) string {