Make the description nicer

This commit is contained in:
niten 2022-06-19 13:16:51 -07:00
parent 3ec45f571f
commit 7385b536b7
2 changed files with 1 additions and 30 deletions

View File

@ -35,32 +35,4 @@
devShell = devShell =
pkgs.mkShell { buildInputs = with pkgs; [ clojure update-deps ]; }; pkgs.mkShell { buildInputs = with pkgs; [ clojure update-deps ]; };
}; };
# outputs = { self, nixpkgs, utils, clj-nix, ... }:
# utils.lib.eachDefaultSystem (system:
# let
# pkgs = nixpkgs.legacyPackages."${system}";
# cljpkgs = clj-nix.packages."${system}";
# update-deps = pkgs.writeShellScriptBin "update-deps.sh" ''
# ${clj-nix.packages."${system}".deps-lock}/bin/deps-lock
# '';
# in {
# packages = {
# fudo-pricebot = cljpkgs.mkCljBin {
# projectSrc = ./.;
# name = "org.fudo/pricebot";
# main-ns = "pricebot.core";
# jdkRunner = pkgs.jdk17_headless;
# version = "0.1";
# };
# };
# defaultPackage = self.packages."${system}".fudo-pricebot;
# nixosModule =
# import ./module.nix self.packages."${system}".fudo-pricebot;
# devShell =
# pkgs.mkShell { buildInputs = with pkgs; [ clojure update-deps ]; };
# });
} }

View File

@ -56,8 +56,7 @@ in {
config = { config = {
systemd.services = mapAttrs' (currency: opts: systemd.services = mapAttrs' (currency: opts:
nameValuePair "pricebot-${currency}" { nameValuePair "pricebot-${currency}" {
description = description = "PriceBot for watching and reporting ${currency} prices";
"PriceBot for watching ${currency} prices and reporting them.";
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
after = [ "network-online.target" ]; after = [ "network-online.target" ];
environment = { environment = {