Make the description nicer
This commit is contained in:
parent
3ec45f571f
commit
7385b536b7
28
flake.nix
28
flake.nix
|
@ -35,32 +35,4 @@
|
|||
devShell =
|
||||
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 ]; };
|
||||
# });
|
||||
}
|
||||
|
|
|
@ -56,8 +56,7 @@ in {
|
|||
config = {
|
||||
systemd.services = mapAttrs' (currency: opts:
|
||||
nameValuePair "pricebot-${currency}" {
|
||||
description =
|
||||
"PriceBot for watching ${currency} prices and reporting them.";
|
||||
description = "PriceBot for watching and reporting ${currency} prices";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ "network-online.target" ];
|
||||
environment = {
|
||||
|
|
Loading…
Reference in New Issue